Some Basic Misunderstandings/Problems with RunRev - a suggestion

Marian Petrides mpetrides at earthlink.net
Wed Apr 14 15:42:39 EDT 2004


Thanks, Richard.  I haven't really played all that much with arrays in  
Rev yet.  And I know nothing (yet) about custom properties, so you've  
given me a place to start.

M

On Apr 14, 2004, at 3:21 PM, Richard Gaskin wrote:

> Marian Petrides wrote:
>
>> I have no idea whether this would work or not (having never tried to  
>> save anything from a standalone) but could you:
>> 1) From within the standalone save the data you want to a text file  
>> when the user presses OK and before closing the standalone app.
>> 2) Next time the standalone gets run, as part of the openStack  
>> handler read the data from this text file into a series of global  
>> variables
>> 3) Use these globals to set the values of the controls
>> Would this do what you want?
>> To the other listees: would this work?
>
> I can't imagine why it wouldn't, but rather than working with a bunch  
> of separate globals by name you could use one array.  The extra  
> benefit of using an array is that you can store its contents in one  
> line:
>
>   set the customProperties of stack tMyDataStack to tMyArray
>
> For more on using arrays for data storage see:
> <http://lists.runrev.com/pipermail/use-revolution/2002-July/ 
> 006149.html>
>
> -- 
>  Richard Gaskin
>  Fourth World Media Corporation
>  ___________________________________________________________
>  Ambassador at FourthWorld.com       http://www.FourthWorld.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list