Oh sorry lol. As stated above this is the only way to do this. I've made 2 simple functions that let you save/load arrays into an already defined array.
Eg:
DIM T$[9]
T$[0]="Test"
T$[1]="HI"
SAVESTR "FILENAME",T$
LOADSTR "FILENAME",DESTINATIONARRAY$
@PChicken
The only problem with that is that Smile replaces any illegal ASCII value with the X character. Eg: CHR$(5553) would be X, CHR$(7542) would be the same.
Again like the variable, they can be either number or string. Think of an array as a book. Eg:
BOOK[0]="Hello"
BOOK[1]="This is a test"
Please look up youtube vids about arrays as they are very useful and I'm not a pro at them.
Variables only hold data. There are 2 types of variables, string and number.
A$ is a string variable.
A is a number variable.
Almost every single program uses variables; wether for stats tracker, know where the player is, count how many enemies are on the screen, etc.
Theres also arrays, which can be defined by DIM[Number of "pages"]
That depends on 2 things. The smilebasic servers have a max file size, and there is a limit to how many characters you can have in one program (specific number is somewhere in my posts)