Command Line Parameters


I'm sure this must be documented somewhere, but I haven't found it yet.

Let's say I have a program MYPROG.BBC, which I compile to MYPROG.EXE. At runtime I then want to pass command line parameters to the program.

For example, to run the program in verbose mode, and saving an error log, the command might be something like:


myprog /v /log=mylog.txt


Question is: within the program, how do I read the parameter string "/v /log=mylog.txt" ?

Ian, G3NRW

Join to automatically receive all group messages.