Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Borland > Re: Comparing s...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 9 Topic 1048 of 1118
Post > Topic >>

Re: Comparing strings and numbers

by Femme Verbeek <fv@[EMAIL PROTECTED] > Aug 29, 2007 at 12:13 AM

cmakal schreef:
> Hello all,
> 
> I have data that looks like this
> 
> 10
> 23
> 5A
> 27B
> O98
> P10
> 30
> 400
> 
> and I wanted to search it to find all values between 1 and 40.  So the
> result set will look like this:
> 
> 10
> 23
> 30
> 
> Is there any way for me to do that?
> 
> I tried between but it only compares the 1st number.
> 
> Any help would be appreciated.
> 
There is a procedure VAL to interpret stringtype  variabeles into its 
numeric represetation.
Look in the help file how to use VAL.
If the errorcode is zero and the numeric representation is between 1 and 
40 --->success

--  Femme
 




 9 Posts in Topic:
Comparing strings and numbers
cmakal <cmakalinaw@[EM  2007-08-28 18:37:07 
Re: Comparing strings and numbers
Femme Verbeek <fv@[EMA  2007-08-29 00:13:44 
Re: Comparing strings and numbers
Dr J R Stockton <jrs@[  2007-08-28 23:39:32 
Re: Comparing strings and numbers
Wolf Behrenhoff <NoSpa  2007-08-29 02:11:08 
Re: Comparing strings and numbers
Dr J R Stockton <jrs@[  2007-08-29 22:31:05 
Re: Comparing strings and numbers
Wolf Behrenhoff <NoSpa  2007-08-30 01:45:30 
Re: Comparing strings and numbers
"Jochen" <jo  2007-08-30 02:25:33 
Re: Comparing strings and numbers
cmakal <cmakalinaw@[EM  2007-08-30 16:05:56 
Re: Comparing strings and numbers
Dr J R Stockton <jrs@[  2007-08-30 19:12:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:49:05 CDT 2008.