-
Notifications
You must be signed in to change notification settings - Fork 8
BASIC ARGS Statements and Functions
Mike Hogsett edited this page Aug 30, 2024
·
6 revisions
TYPE: plusBASIC system pseudo-variable
FORMAT: ARGS
Action: Returns the number of arguments to the RUN statement.
Examples:
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
TYPE: plusBASIC system function
FORMAT: ARGS$(argnum)
Action: Returns specified argument of the last RUN statement.
Examples:
TYPE: plusBASIC system statement
FORMAT: GETARGS var { , var ... }
Action: Parses arguments passed into subroutine
Examples:
To Search for pages in the wiki, press Pages above and type a search term in the "Find a page..." box. Results will update beneath automatically.
- Aquarius+ User Guide
- Quick Start
- Hardware
- Software
-
Other Development Resources