>>See my reply to Sergey. I think your best bet is to store it as a property of wwSession or any other object which is always there:
>>
>>
restore from european
>>this.addproperty("euroansi", m.euroansi)
>>
>>and rework your code to use session.euroansi instead of m.euroansi.
>
>This doesn't work for me:
>
>
>PUBLIC m.european
>RESTORE FROM (gcMainAll+'european.mem') ADDITIVE
>
>
>When being used, such as expressed in this thread for the SQL lines, it doesn't recognize this variable.
The scope of the restored variable is unreliable, in the least. So you have two ways out - declare a different, public, variable, and copy the restored one into it, or save the restored variable into a property.