Re: data to/from stack

Boyd Sweeney (starnet!apple!puzzler.nichols.com!sweeneyb)
Tue, 11 Apr 1995 22:24:29 -0500

>Hello Meta-users,
>
>I have developed a dialog box (a stack with 1 card to change settings).
>
>I know I can use global variables, but...
>can I pass arguments to a stack when I "go to" it?
>can I return data from a stack when it closes (to the calling script)?
>
>More specifically, I have a dialog box/stack that allows the user to build
>a query to a database (like an SQL statement builder) so the user can get a
>subset of data to work with.
>
>Any help/experience would be appreciated,
>Chris
>--
>+--------------------+--------------------------------------------------+
>| Chris Roger | Laboratory / Patient Information Systems |
>| LabConnect, Inc. | Xenix => ascii terminals (phasing out) |
>| croger@gcr.com | Linux => X-Windows/Motif |
>+--------------------+--------------------------------------------------+
>Quality in a service or product is not what you put into it. It is what
>the customer gets out of it. -Peter Drucker

I believe that this is probably best implemented using globals. However,
you might try using the "return" statement to pass data back from your
dialog. The calling script would then retrieve the data with the "the
result" function.

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Boyd Sweeney Scientist, Nichols Research Corporation _/
_/ sweeneyb@puzzler.nichols.com (205) 883-1170x1775 _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/