Post Reply 
Create a list of undefined user vars?
01-27-2016, 05:10 PM
Post: #17
RE: Create a list of undefined user vars?
Something like that?

Code:
EXPORT test2()
BEGIN
  LOCAL j;
  HVars("Tickers"):={L1(1),L1(4)};  //  Home variable Tickers == symbol list == {CAT,IBM}
  FOR j FROM 1 TO SIZE(Tickers) DO HVars(STRING(Tickers(j))):=L1(3*j); END;   //create variables for the INPUT statement with their initial values
  EXPR("INPUT("+string(Tickers)+")");
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Create a list of undefined user vars? - Didier Lachieze - 01-27-2016 05:10 PM



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