CommandLine use

Post your coding questions such as 'how to' here.
Post Reply
Fr34k

CommandLine use

Post by Fr34k »

How do I use CommandLine?

The example in the help doesn't really help me.
cmLn$ = CommandLine()

And how do I need to execute my program with which parameters.

Thanks.
mikeful
Moderator
Moderator
Posts: 523
Joined: Mon Aug 27, 2007 8:36 pm
Location: Vaasa, Finalnd
Contact:

Re: CommandLine use

Post by mikeful »

CommandLine()-function returns commandline parameters as string. If you use "program.exe -test lol" it returns "-test lol". You can use GetWord()-function for parsing.
Pelejä: Pelasta puhe, Grinder
Muuta: Blogi, Twitter
Post Reply