On Friday, March 29, 2002, at 07:08 , Dar Scott wrote:

> The documentation for = and < says, "Numbers surrounded by double 
> quotes are treated as strings."  I assume this means literals, such as 
> "123", not, for example, quote & 3 & quote.
>
> This does not seem to be the case.  OS X, Revolution 1.1.1 B2
>
> "8" < "33" --> true
> "03" = "3" --> true
>
> "a8" < "a33" --> false
> "a03" = "a3" --> false
>
> I assume it is the documentation that is in error.
Dar
Your first guess was the right one.
(quote & 8 & quote) < (quote & 33 & quote) --> false
as is quoting for the 03/3 example. The remaining two are valid string 
comparisons of course (as you knew). Looks like the documentation could 
be clarified all right.

regards
David
>
> Dar
>
> _______________________________________________
> improve-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/improve-revolution
>

_______________________________________________
improve-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/improve-revolution

Reply via email to