Teething troubles

Philip Usher usher at iqcisp.com
Thu Feb 14 21:02:01 EST 2002

on 2/14/02 4:49 PM, Marcus Bointon <marcus at synchromedia.co.uk> wrote:

> can't find a way of getting the current stack's path.

check out About Filename Specifications and Filepaths in the Rev
Encyclopedia and filename of stack property in the Rev Dictionary.
Something like this should give you a well lit path to your stack:

global gStackPath
on hGetStackPath
  put the filename of this stack into gStackPath
  set itemDelimiter to "/" --mac os
  delete last item of gStackPath
end hGetStackPath

-- Philip

More information about the use-livecode mailing list