Stupid Q number 1000

Richard Gaskin ambassador at fourthworld.com
Fri May 20 17:28:05 CEST 2016


RM wrote:

 > I wonder why this script doesn't work in LC 8.0.1:
 >
 > on mouseUp
 >     ask file "Choose where you wish to save your stack"
 >    if the result = "cancel"
 >    then exit mouseUp
 >    else
 >       save stack "New Stack"
 >       end if
 > end mouseUp

In which version of LC does that work?

What's it supposed to do?  A path is obtained, but never used.

Maybe you want to set the stack's filename property?

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list