ARGC
Argument Count for Thoroughbred Basic Startup
This numeric system variable returns the number of arguments specified in the operating system command that was issued to start this Thoroughbred Basic task.
Syntax
Section titled “Syntax”ARGCRemarks
Section titled “Remarks”This function is generally available starting with release level 8.1B2.
Examples
Section titled “Examples”If you start Thoroughbred Basic with the following command:
./basic T5 data IPLWINthen the ARGC variable will have a value of 4. To see what you entered you can execute the following Thoroughbred Basic statement:
00010 FOR X = 0 TO ARGC - 1 ; PRINT ARG(X) ; NEXT XThis statement will print:
./BasicT5dataIPLWINSee also
Section titled “See also”ARG function
From the Thoroughbred Basic Language Reference, Volume I: A–E, version 8.9.1. Open this page in the PDF