How to save as a 'Legacy Revolution Stack'

Sarah Reichelt sarah.reichelt at gmail.com
Fri Aug 11 23:56:00 EDT 2006


On 8/12/06, Joel Guillod <joel.guillod at net2000.ch> wrote:
> How can I force to save as a 'Legacy Revolution Stack' with the save
> command, i.e. without passing by the save dialog?

Set the stackFileVersion. It is 2.7 for modern stacks and 2.4 for legacy stacks.

> And how to know if the saved format is 'Legacy Revolution Stack' or
> 'Revolution Stack'?

Open the stack in a Text editor, or load it into a Rev field as text
i.e. using file: not binfile:
Legacy stacks start with:

#!/bin/sh
# MetaCard 2.4 stack
# The following is not ASCII text,
# so now would be a good time to q out of more

and modern stacks start with:

REVO2700

where characters 5 to 8 may vary with differetn versions of Rev.

HTH,
Sarah



More information about the use-livecode mailing list