Bug with token chunk type?
Dave
dave at looktowindward.com
Tue Mar 20 06:20:00 EDT 2007
On 20 Mar 2007, at 09:23, Phil Jimmieson wrote:
>> This:
>>
>> put token 1 of "s800"
>>
>> ...returns "s800", but this:
>>
>> put token 1 of "800s"
>>
>> ...returns "800".
>>
>> bug?
>
> Hi Richard,
> Variables or commands/function names have to start with a letter,
> though they can contain numbers. Numbers can't contain letters
> (except for the hex variety). Parsing the string "s800" gives a
> valid variable/command/function name. Parsing "800s" gives a valid
> number, with an "s" left over.
> Does that sound like a reasonable explanation for the behaviour?
That's what I was going to say!
All the Best
Dave
More information about the use-livecode
mailing list