BCX Console Demonstration Program S91.bas

 ' =======================================================
 ' Sample console mode program for BCX
 ' Shows how easy it is to access command line parameters
 ' argc and argv$[] must be lower case & not dimensioned
 ' =======================================================
 
 DIM a AS Integer
 
 PRINT "This program was launched from ", argv$[0] : PRINT
 PRINT "The following command line arguments were found ..."
 
 FOR a = 1 TO ARGC - 1
   PRINT argv$[a]
 NEXT