This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Feature Updates
 New Features
 [ADDED] acGetNumber / acSetNumber
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rob

USA
2615 Posts

Posted - 03/02/2014 :  12:19:38  Show Profile  Visit Rob's Homepage
Added acGetNumber / acSetNumber to allow storing a value in the S+ process.

The only real purpose for this is to pass data between Lua states. There are two Lua states which S+ uses, state 1 is always run unless state 1 is currently executing a script, then state 2 is used.

However, state 1 and state 2 are completely separate from and unaware of each other. So if you need to send a signal from state 2 to state 1, you can use acGetNumber / acSetNumber to pass a message. This is only used in a very rare scenario, but is there if it's useful.
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000