Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.pascal.borland    |    Borland Pascal was actually pretty neat    |    2,978 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,509 of 2,978    |
|    Femme Verbeek to cmakal    |
|    Re: Comparing strings and numbers    |
|    29 Aug 07 00:13:44    |
      From: fv@nospam.tcenl.com              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              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca