Application Path?

Dan Friedman dan at
Fri May 10 10:21:01 EDT 2002


I put this routine in the startUp script of all my projects.  From it, I get
a global variable called "applicationPath" that I can use any time which
contains the path to the stack.

on applicationPathAtStartUp
  global applicationPath

  put the fileName of this stack into applicationPath
  set the itemDel to "/"
  delete last item of applicationPath
end applicationPathAtStartUp

Hope that helps.


> Is there a function that returns the path to where my rev app is
> located?
> I'd like to store of few text files in the data folder.

More information about the use-livecode mailing list