Watch out for 2.6 then going back to 2.5

Sarah Reichelt sarahr at genesearch.com.au
Thu Jun 9 19:56:34 EDT 2005


>   repeat with j=1 to 20
>       put j --mssg box contains 1
>       get Typ[min(i+1+j,DateLines)] --error on this line
>
>
>          executing at 11:59:32 AM
> Type    Function: error in source expression
> Object    card id 1002
> Line    get Typ[min(i+1+j,DateLines)]
> Hint    card id 1002
>
> The error is complaining that j has not been defined yet!!!!
> When I look at the variable watcher, j is missing.  If I 'put j' in  
> the mssg box it is also missing.
> If I execute the get statement in the mssg box and substitute 1 for  
> j then it works.

Do you have explicit variables turned on?
Where is i defined?

As one of those who did beta test 2.6, I found it very reliable and  
had no problems getting my stacks to run. Perhaps you could post your  
complete script, so we could try to find a solution for you.

Cheers,
Sarah




More information about the use-livecode mailing list