MOD function does not work! So be warned!
David Vaughan
drvaughan55 at mac.com
Fri Mar 29 04:08:01 EST 2002
On Friday, March 29, 2002, at 07:50 , Dar Scott wrote:
>
> On Friday, March 29, 2002, at 01:16 AM, David Vaughan wrote:
>
>> A solution (use round when it must be integer, raise to the power 1
>> when it must be floating point and concatenate with empty for a
>> string) is straightforward enough and rarely needed.
>
> I don't think I understand how to use this.
>
> Case in point:
> put ("8" & empty) < ("33" & empty) --> true
> These numeral values compare as numbers. I can't "make" them be
> strings.
um... true. You actually have to append a space, not empty. There's one
for me.
>
> I realize there is a lot of heritage behind this, but I would have been
> happier to discover I could not tell there was any representation other
> than strings. ...to discover that arithmetic has a simple
> numeral-to-number-to-(limited)-numeral semantics. I would have been
> please to learn something like, "Numerals with less than 20 digits
> represent numbers. An arithmetic function on numerals returns an exact
> representation of the result if it can be represented in 20 or less
> digits, otherwise ..."
>
> It is kind of strange to find that there are some x such that "B" & x =
> "B236" is true but x = 236 is false.
>
> Dar Scott
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list