Jump to content
  • 0

script effect


Question

Posted

if u have created 20 script and they all use this "for( set .@i,1; .@i <= 6; set .@i,.@i+1 )" <-- would that affect other script? i mean would they alter how the other script is supposed to work?

1 answer to this question

Recommended Posts

Posted
".@" - A scope variable.

They are unique to the instance and scope. Each instance has it's

own scope that ends when the script ends. Calling a function with

callsub/callfunc starts a new scope, returning from the function

ends it. When a scope ends, it's variables are converted to values

('return .@var;' returns a value, not a reference).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...