Announcement

Collapse
No announcement yet.

Order of entering scripts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Order of entering scripts

    EFS Gurus,

    Is it possible to control what order my scripts will be entered?

    Say I have three scripts running in a panel (S1, S2, S3) and I want to have S1 produce results, 'post' it into a global variable (for example) and have S2 and S3 use it for their own calculations.

    Is it possible to control this?

    If not, is it possible to determine what order each script will be entered on a particular tick?

    Thanks,

    Bey

  • #2
    not necessarily...

    what I would suggest you do is have your S2 and S3 scripts check for the validity of your global variable, thus preventing S2 and S3 from executing on garbage data...

    There is no way (that I know of) to control which scripts run first. Now, if they are on the same chart, you could use CALL to call them in order (whatever order you wanted). But if they are on different charts - there is no way to control them.
    Brad Matheny
    eSignal Solution Provider since 2000

    Comment

    Working...
    X