Post Reply 
FOR IN {} suggestion for HP team
11-22-2014, 01:59 PM (This post was last modified: 11-22-2014 02:02 PM by Gilles.)
Post: #1
FOR IN {} suggestion for HP team
It would be fine to have this kind of syntax with the Prime like in Mapple :

FOR n IN { } DO
END


For example :

FOR n IN {"Bleu" "Blanc" "Rouge"} Do
PRINT(n);
END

would result in

Bleu
Blanc
Rouge

This will allow things like

FOR n IN { 1 7 3 9 10 11 } DO ..

And why not { 3..10} to give easily {3 4 5 6 7 8 9 10}
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)