# Load test.bb

Post Reply
User avatar
Dutchman
Posts: 148
Joined: Tue Aug 06, 2019 4:47 pm
Location: Netherlands

# Load test.bb

Post by Dutchman » Wed Nov 20, 2019 12:04 pm

# Load test.bb is a test and demo program for "! Array utils"

Code: Select all

' Load test
{/Extensions/Arrays/! Array utils}
Dim A()=("?","#",1,2,3,4,5,"a","b","c","d","e")
a1,a2,a3,a4,a5=LoadN|5(A(),5,2)
PRINT a1;a2;a3;a4;a5
A=LoadList(A(),5,7)
FOR i=0 TO 4 : PRINT " "+A(i)+" "; : NEXT i
END
Output on console:

Code: Select all

 1  2  3  4  5 
 a  b  c  d  e 
It is still a long way to go

Post Reply