Jump to content

Confusing Syntax and Improvement Suggestion


trevor

Recommended Posts

Neo can u put together a better cheat sheet that explains the naming conventions with brackets and $s. I keep finding I'm lost for when to use what. The help page is a bit slim on examples and $ usage seems to vary depending on the function in question.

Also, it would be really helpful if you could expand the bracket functionality to be nested..... e.g.

$((Var1).(Var2)).Property

OR even better
$((Var1).State_(Var2))

So we can have something like

Var1 = Locomotive Name
Var2 = Index to a list of variables whose name starts with "State_" 

example in the second suggestion. 
Var1 = BR_50-1
Var2 = 2

Would point at $BR_50-1.State_2


 

Link to comment
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
×
×
  • Create New...