parsed pathname - answer found

Scott Rossi scott at tactilemedia.com
Tue Jan 27 18:31:13 EST 2004


Recently, "Ian Wood"  wrote:

>>  on mouseUp
>>    set itemDel to "/"
>>    answer last item of fld "folderList"
>>  end mouseUp
>> 
>> Regards,
>> 
>> Scott Rossi
>> 
> 
> Don't forget to reset the item delimiter:
> 
> on mouseUp
> put itemDel into defaultDel
> set itemDel to "/"
> answer last item of fld "folderList"
> put defaultDel into itemDel
> end mouseUp

No need here.  As stated in the docs, the itemDelimiter is automatically
reset at the end of the current handler, and only affects the current
handler.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list