Update a global when going to a stack as modal

Ops ops at myesa.com
Thu Jan 8 17:52:01 EST 2004


Just to get the obvious out of the way....you *did* define gFoo as a global in Stack B...correct?

======= At 2004-01-07, 12:20:00 you wrote: =======

>I have a handler in stack A of the pseudo form below
>  ...
>  LINE 1 <put "Before" into global gFoo>
>  LINE 2 <go to stack B as modal; user input there goes into gFoo>
>  LINE 3 <put gFoo into fld "Information" of stack A>
>  ...
>
>The text that is put into the field on stack A is inevitably "Before".
>However, if I immediately type 
>
>  put gFoo into fld "Information"
>
>the data that was collected in stack B is put into the field in stack A as
>expected.  The global is populated as I would want, except it is as if line
>3 above is run before line 2.  What is going on?  Can I not switch between
>stacks and collect data?  Is there a workaround?
>
>Mark
>_______________________________________________
>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