Jump to content

Loops/Foreach: Difference between revisions

m
Line 659:
 
DEF AList:POINTER
 
DEF X:INT
 
AList=ListCreate()
 
'add items to the list
DEF X:INT
FOR X=0 TO 10
POINTER Temp=ListAdd(AList,NEW(INT,1))
Line 684 ⟶ 683:
AnArray=0,1,2,3,4,5,6,7,8,9,10
 
FOR X=10 TO 10
 
PRINT AnArray[X]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.