Well, here's a stab at it. Sorry, I don't have time to type up a full example, but this should get you started.
First off, we have the string answer$ that needs to be broken into separate words. For this I would suggest scanning through it with a repeat/until loop character by character until you reach the end, like so:
DIM Breaks(10)
Counter=0
TtlBreaks=0
REPEAT
INC Counter
IF Mid$(Answer$,Counter)=" "
INC TtlBreaks
Breaks(TtlBreaks)=Counter
ENDIF
UNTIL Counter=LEN(Answer$)
What this will do is go through it until it finds the " " character, then store that character's location into an array named Breaks(). You can then use the Left$() and Right$() functions to grab the string of characters between the breaks.
That kind of spilled into your next question: Arrays.
To declare an array, you use the DIM command. You can dimension them up to, I think, 255 levels. In this case, you will probably want a string array, so you would use:
DIM CommandArguments$(10)
Note that this assumes that there is a max of 10 different arguments that the user can enter (all would be separated with a " "). Tying into the previous example:
FOR I=1 to TtlBreaks
CommandArguments$(I)=Left$(Answer$,Breaks(i))
NEXT I
Yeah, it's a little flawed, in that I was too lazy to put the code to extract the middle of a string (it's not hard, you can either get clever with the left$() and right$() commands or write a function that simply uses mid$() and adds all the appropriate characters together).
For comparison, I would suggest using an array that is loaded either with a file (OPEN TO READ) or that is just saved and loaded (SAVE ARRAY and LOAD ARRAY, respectively).
Hope this helps!
Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose