Passing a command line parameter to a QBASIC 4.5 program 
Author Message
 Passing a command line parameter to a QBASIC 4.5 program

hello to the group:

    How does one pass a command line parameter (%1, %2) to a
QBASIC 4.5 program, compiled? What keyword or feature is needed?

Curtis Scholl



Sun, 23 Dec 2001 03:00:00 GMT  
 Passing a command line parameter to a QBASIC 4.5 program

Quote:

> hello to the group:

>     How does one pass a command line parameter (%1, %2) to a
> QBASIC 4.5 program, compiled? What keyword or feature is needed?

Look at the COMMAND$ function. Although if you want to use more than one
parameter, then you are going to have to parse the string yourself.

---

Pat - La Grande,OR.  http://www.greencis.net/~ppridgen
La Grande High Class of '69 Reunion page   "  "   "   /reunion/
In /dev/null no one can hear you scream.



Sun, 23 Dec 2001 03:00:00 GMT  
 Passing a command line parameter to a QBASIC 4.5 program
The preset variable COMMAND$ holds the parametes, but you have to extract
the bits you want with instr etc.

Phil Brady



Quote:
> hello to the group:

>     How does one pass a command line parameter (%1, %2) to a
> QBASIC 4.5 program, compiled? What keyword or feature is needed?

> Curtis Scholl




Mon, 24 Dec 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. QBASIC 4.5 Command Line switches

2. Passing Command line parameters to a shelled program

3. Passing command line parameters to VB program (how???)

4. QBASIC: Can you bring in command line parameters?

5. Incorporating non-QBasic graphics into QB 4.5 programs

6. REQ: Can sombody post or help me find a QBASIC 4.5 modem program

7. Passing Parameter [AutoRun] by Command Line

8. passing command line parameters in ide

9. Passing Command Line Parameters to an Existing Instance of your App

10. QuickBasic 4.5 and Masm 6.0 parameter passing

11. Passing a parameter to VB on the command line

12. Passing parameter on command line

 

 
Powered by phpBB® Forum Software