Sign in to follow this  
Followers 0
IamJon

Lop1: T #UserTag ?

2 posts in this topic

What is this line of STL doing? I can't find it in the help file. Specifically the Lop1: Thanks ETA: Crap, I just found it. It's the reference point for the loop. Sometimes all it takes is to ask someone else for me to find the answer myself Edited by IamJon

Share this post


Link to post
Share on other sites
You are correct. This is called a label. You can alter the program execution by means of the jump instructions (JC, JU, JN, JP, etc.) placing the program counter at the specified label. Example: A I 0.0 //Is this input on? JC foo //Yes, then jump down to the label "foo" //If not, we continue here O I 0.1 // If this input O I 0.2 // or this input is on BEC // end the block at this point //We end up here if either I0.0 is on or if neither I0.1 nor I0.2 is on foo: L W#16#F000 T MW100 Edited by EirikV

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0