Post Reply 
FOR IN {} suggestion for HP team
12-01-2014, 04:15 PM
Post: #4
RE: FOR IN {} suggestion for HP team
(12-01-2014 03:54 PM)Tim Wessman Wrote:  Why would anyone ever want a loop in a programming language that iterates over a fixed sized collection of some type of object? I can't imagine how that would be useful nor any language that has something similar...

/s

I think the idea was not to actually loop over a fixed sized list, but to simply enable looping over lists so that one could do something like:

Code:

  FOR j IN mylist DO
    PRINT(j);
  END;

where mylist is created dynamically.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
FOR IN {} suggestion for HP team - Gilles - 11-22-2014, 01:59 PM
RE: FOR IN {} suggestion for HP team - Han - 12-01-2014 04:15 PM
RE: FOR IN {} suggestion for HP team - Han - 12-01-2014, 06:54 PM



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