Post Reply 
parse var in a cycle (like j -> Cj)
03-08-2015, 07:00 PM
Post: #5
RE: parse var in a cycle (like j -> Cj)
(03-08-2015 04:20 PM)salvomic Wrote:  yes, it works!
but with eval()

see here.

Code:

local DL:={eval('D1'), eval('D2'), ...}

Lists are very useful, for example, you can evaluate each element in the list:
Code:

EXPORT Varb()
BEGIN

local a:=1,b:=2,c:=3, DL:={'a',' b', 'c'};
RETURN EVAL(DL);  //  Evaluates each element in the list DL

END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: parse var in a cycle (like j -> Cj) - DrD - 03-08-2015 07:00 PM



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