LC8 Save command

Mark Wieder mwieder at ahsoftware.net
Fri Feb 5 21:07:52 EST 2016


On 02/05/2016 03:13 PM, Peter Haworth wrote:

> Would be nice if there was a "with current format" or something similar
> that would save the stack with the format it already has.

Expanding on what Mark said, the IDE will do this if you have the 
preference set, but the save command invoked from a script won't.

As you have discovered, calling the save command without options will 
save in 7.0 format unless there are widgets in the stack, in which case 
it will save in 8.0 format.

To save in other formats you can either set the stackFileVersion before 
saving or use "with format" option of the save command.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list