Initial data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 72d218235f
commit f23f22d71c
199087 changed files with 3378941 additions and 0 deletions

View file

@ -0,0 +1,28 @@
FUNCTION ConcatArrays(a(), b())
ta = UBOUND(a)
tb = UBOUND(b)
nt = ta + tb
FOR i = ta + 1 TO nt
a(i) = b(i - ta)
NEXT i
ConcatArrays = nt
END FUNCTION
dimen = 5
DIM a(dimen)
DIM b(dimen)
FOR i = 1 TO dimen
a(i) = i
b(i) = i + dimen
NEXT i
nt = ConcatArrays(a(), b())
FOR i = 1 TO nt
PRINT a(i);
IF i < nt THEN PRINT ", ";
NEXT i