trevor Posted October 3, 2016 Posted October 3, 2016 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
trevor Posted October 4, 2016 Author Posted October 4, 2016 NOTE: Implementing the latter would also provide us with a crude, but much needed method to implement arrays of variables.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now