Post Reply 
How to store value into variable which is as value of another variable?
12-11-2015, 01:07 PM
Post: #4
RE: How to store value into variable which is as value of another variable?
(12-11-2015 09:21 AM)chromos Wrote:  Second example doesn't - it changes variable L1(1) and not variable inside L1(1).
Yes, you're right..

Regarding the first example, a few comments:
  • if value is a numeric value, then it's better to use STRING(value,1) rather than STRING(value): EXPR(L1(1)+":="+STRING(value,1))
    This way you ensure by using the standard format that the string created with include all digits of "value", otherwise if for ex. you are in engineering 2 display mode, only the first 3 digits will appear in the string.
  • if value is a variable, for example variable A, then to avoid the string translation just use: EXPR(L1(1)+":=A")
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to store value into variable which is as value of another variable? - Didier Lachieze - 12-11-2015 01:07 PM



User(s) browsing this thread: 1 Guest(s)