Script local variables and initialization.

Dar Scott dsc at swcp.com
Thu Dec 23 17:09:18 EST 2004


This may not be needed; I tried what I thought you said and it worked 
for me.

On Dec 23, 2004, at 2:58 PM, Alex Tweedly wrote:

>> Here is a way to find out if it is being compiled twice and when.  
>> Use a later version and put in a new command in the script.  Then 
>> open the stack on an earlier version that doesn't have the command.  
>> You will get an error when it compiles.  If it really compiles twice, 
>> then you will get it twice.
>
> I'm not sure if I understood this correctly or not - can I rephrase it 
> and you tell me if that's what you mean, or if I got it wrong ?
>
> Use a later version of Rev, and add a newly-added command in the card 
> script. Check that works.
>
> Then switch to an earlier version of Rev and load the stack into that; 
> there should be compile errors due to the command which doesn't exist 
> in this earlier version.
>
> Yes ?  Or no ?

Yes.
>
> Is there a way to find which commands are recently added ?  Or any 
> specific suggestions for commands added between 2.2.1 and 2.5 (the 
> only two versions I have).

Try encrypt.

If it is really compiling twice you will see two errors, I assume.  If 
you get no errors, you may have a shadow stack (a term I just made up) 
in memory.  Quit Revolution and reopen the stack.

This test may not be needed.  I tried something trivial and it worked 
for me on 2.5 on OS X.

Dar

**********************************************
     DSC (Dar Scott Consulting & Dar's Lab)
     http://www.swcp.com/dsc/
     Programming Services and Software
**********************************************



More information about the use-livecode mailing list