Variables are not arrays. To get an array you need to "dim" it.
Like if you want to store 5 names you first make the array:
When it says "dim" that tells Darkbasic the next word is the array name. The "$" means that this array is a string of text. The "(4)" means that you want the array to have 5 elements (the number you have +1 because zero is the first element in the array).
You define the array just like you do a variable but you specify which field you want to use:
Friend$(0)="Casey"
Friend$(1)="Amanda"
Friend$(2)="Bob"
Friend$(3)="Jimmie"
Friend$(4)="Carol"
Those names are now stored in the array "Friend$". If you want to print the array you can use a for/next loop and change the number it uses per loop (I added a "wait key" if you wanted to copy the code snips and run them):
for t=0 to 4
print Friend$(t)
next t
wait key
The for/next loop makes t=0 at first and will add 1 to t until it gets to 4.
When you want to save the information stored in the array you use the same method I showed above. The syntax is "save array filename$,array(0)"... in this case it's:
save array "Names.dat",Friend$(0)
The filename can be anything you want. To load the array you do the same exact thing but use "load array" instead:
load array "Names.dat",Friend$(0)
Using the above code snips what would you need to do to print just "Amanda"?