tokens and paths
Jim Lambert
jiml at netrin.com
Thu Jul 24 16:35:01 EDT 2003
Rev's documentation offers this tip:
To place the current stack's file path in a variable, enter the following in
a handler or the message box:
set the itemDelimiter to "/"
get item 1 to -2 of the effective filename of this stack
Won't this one-liner do as well?
put token 1 to -2 of the effective filename of this stack
Or are there cases where it will fail?
Jim Lambert
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/03
More information about the use-livecode
mailing list