BASIC ARGS Statements and Functions - fvdhoef/aquarius-plus GitHub Wiki
ARGS
TYPE: plusBASIC system pseudo-variable
FORMAT: ARGS
Action: Returns the number of arguments to the RUN statement.
Examples:
ARGS
TYPE: plusBASIC system statement
FORMAT: ARGS arg { , arg ... }
Action: Specifies arguments to pass into a GOSUB subroutine. This must appear on the same line as, and immediately follow the GOSUB call.
Examples:
10 GOSUB 1000:ARGS 10,20,30,40
20 END
1000 GET ARGS A,B,C,D
1010 PRINT A;B;C;D
1020 RETURN
run
10 20 30 40
Ok
ARGS$
TYPE: plusBASIC system function
FORMAT: ARGS$(argnum)
Action: Returns specified argument of the last RUN statement.
Examples:
GETARGS
TYPE: plusBASIC system statement
FORMAT: GETARGS var { , var ... }
Action: Parses arguments passed into subroutine
Examples: