Offset function
Robert Presender
rpresender at earthlink.net
Sat Sep 14 16:29:01 EDT 2002
Hi Klaus,
Your input triggered my memory (what's left of it) about literal
strings.
Thanks for straightening me out.
Regards ... Bob
On Saturday, September 14, 2002, at 09:01 AM, Klaus Major wrote:
> Hi Robert,
>
>> Using Rev 1.5A7.1 or Rev 1.1.1
>>
>> With reference to transcript dictionary offset, I put example 3 into
>> the message box with and without the quotes and obtained the same
>> results.
>>
>> offset("bark","embarking")
>> offset(bark,embarking)
>>
>> Are the quotes necessary? If necessary, under what conditions?
>>
>> Thanks for any comments.
>
> Maybe these 2 little scripts will answer your question.
> See the difference ?
> Hints: variables ;-)
>
> on mouseUp
> put "dfdfdf" into bark
> put "xxxxxxxxx" into barking
> put offset(bark,embarking)
> end mouseUp
>
> ### -> 0
>
> on mouseUp
> put offset("bark","embarking")
> end mouseUp
>
> ### -> 3
>
>> Regards ... Bob
>
> Regards
>
>
> Klaus Major
More information about the use-livecode
mailing list