Skip to Content
avatar image
Former Member

Variable Scope & 'PUSH'

I just want to check my understanding of life of the 'args' variables in a Personas script.

If I copy an on screen variable, it is available for use within the same script and therefore I can paste the saved variable to perhaps an area of a different flavour further down my script.

If however in my main script (MS1) I copy a variable - VARA contains the value 'hello'....

... and then in the course of that script, I make a conditional choice; If Condition A PUSH Button 1 (sub-script 1); If Condition B PUSH Button 2 (SS2), etc...

.... will VARA still contain 'hello' when I try to pick it up in SS1 and SS2?

I seem to be getting inconsistent results and hence I'm getting a little confused.

Any advice much appreciated,

Thanks.

Patrick.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 27, 2015 at 09:50 PM

    yes..

    VARA should be available in both MS1 and SS1/SS2

    What kind of inconsistent result you are seeing?

    Sushant

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 27, 2015 at 08:17 PM

    Does no one have any thoughts on this?

    Add comment
    10|10000 characters needed characters exceeded