Arrays

Pick BASIC has two types of arrays:

Example(s)

This loads all the item-IDs from the current master dictionary into the dimensioned array, a.

max = 100

n = 1

dim a(max)

execute "select md"

loop

readnext ID else exit

a(n) = ID

if (n >= max) then

max += 100

dim a(max)

end

n += 1

repeat