Get a handler from a script

David Burgun dburgun at dsl.pipex.com
Thu Mar 23 06:24:22 EST 2006


On 22 Mar 2006, at 13:55, Wouter wrote:

> Hi David,
>
>
> On 22 Mar 2006, at 12:53, David Burgun wrote:
>
>> Hi,
>>
>> Nice Script!
>>
>> There is just one thing I don't understand?
>>
>> What are the:
>>
>> get  "/*" & i
>>
>> Statements for?????
>
>
> /* this is a comment
> as is this */function whatever
> return "something"
> end whatever
>
> This is to force the tokenizing.
> The script is parsed line by line.
> The first line of the block comment will be eliminated by token 1  
> to - 1 of  i
> But the first token of  the  second line of the block comment will  
> be the first word --> "as"
> By adding a "/*" in front of that line the first token will be  
> "function"
>

Thanks a lot!

All the Best
Dave




More information about the use-livecode mailing list