troy at rpsystems.net
Tue Nov 9 16:07:52 CST 2004
On Nov 9, 2004, at 3:15 PM, Hershel Fisch wrote:
> Hi all, what is wrong with this syntax ?
> It doesn't save to the destination.
create stack "t2"
answer folder " "
-- get the name of a folder
put it into tP
-- treat the folder name as a variable (even if the user cancelled the
dialog and the result is empty)
save stack "t2" as tp
-- save the stack as the name of the folder, not a file name... this
set the stackFileType to "myapSTCK"
-- this doesn't exists, since the user selected a folder and the file
was never created
set the script of stack "t2" to field "fi"
-- this would be fine, but there is no file
More information about the use-livecode