Jump to content
  • 0

script effect


caspa

Question


  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

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?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

".@" - 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).

Link to comment
Share on other sites

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.

×
×
  • Create New...