Global Misbehaving
Gregory Lypny
gregory.lypny at videotron.ca
Wed Sep 12 12:58:59 EDT 2007
Hello everyone,
I have the following openStack handler in a main stack. I use it to
set two globals which hold paths to folders that I want to use for
back ups and such.
on openStack
global dataFilePath, partsFilePath
-- Set some relative file paths
get the fileName of this stack
set the itemDelimiter to "/"
delete the last item of it
put it & "/Data/" into dataFilePath
go to stack "Another Stack"
end openStack
Seems that when I declare the global dataFilePath in substacks, I
just "/Data/" instead of the full path. What gives?
Gregory
More information about the use-livecode
mailing list