From a Rookie: Scope and Visibility Among Stacks/Scripts
Thomas McGrath III
3mcgrath at adelphia.net
Tue Mar 2 09:22:52 EST 2004
Paul,
Try to list the whole path to the stack: ie.
on mouseUp
get line 1 of field "My Field" of stack "Substack"
put it into field "My Field 2" of stack "Main Stack"
end mouseUp
or
on mouseUp
put field "My field" of stack "Substack" into field "My Field 2" of
stack "Main Stack"
end mouseUp
The docs are great once you get a feel for the language. Go to the
developer contributions part of the Rev site and download some example
applications and dig into them. That always helps me in seeing how
others treat the language.
HTH
Tom
On Mar 2, 2004, at 9:04 AM, Springer, Paul wrote:
> I am just beginning to use RR for a rapid development of a demo. It
> seems
> like the perfect tool, and I am very impressed. Nevertheless I am
> struggling
> with a few things and the on-line documentation, while loaded with good
> information, is a little awkward until you learn the terms for
> whatever it
> is you are looking for. I don't have much GUI building experience and
> my
> strongest language is Ada. (Yes, I have always worked for defense
> contractors!) BTW, in reading some of your threads I see concerns about
> fostering acceptability of what you (and I) think is a great tool - RR.
> Believe me, Ada advocates have been through (and are still going
> through)
> the same issues. I wish us both luck!
>
> Anyway, the thing I am struggling with the most right now is
> visibility and
> scope. In particular, I am trying to move the value from a field on a
> substack into a field on the parent stack, but the script for the
> substack
> cannot "see" the field on the parent stack. I expect that when I
> understand
> this topic, a lot of things will become clearer.
>
> Sorry to post such a simple question; I am sure there is a pertinent
> section
> of documentation, but I have not identified it yet. Can someone help,
> either
> with a simple answer or a pointer to the right place to look?
>
> Thanks,
> -Paul
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
More information about the use-livecode
mailing list