Loops/Foreach: Difference between revisions

Content added Content deleted
Line 683: Line 683:


DEF AList:POINTER
DEF AList:POINTER

DEF X:INT


AList=ListCreate()
AList=ListCreate()


'add items to the list
'Add items to the list.
DEF X:INT

FOR X=0 TO 10
FOR X=0 TO 10
POINTER Temp=ListAdd(AList,NEW(INT,1))
POINTER Temp=ListAdd(AList,NEW(INT,1))