Page 1 of 1

Posted: Tue Feb 26, 2002 10:47 pm
by BackupUser
Restored from previous forum. Originally posted by pl0nk0r.

Hi, as a newbie im sure this will be an easy one for the PB Guru`s

I would like to know if it is possible to pass arguments to a PB program?

ie.

program arg1 "argument 2 is here" arg3

thanks in advance for any response

Posted: Tue Feb 26, 2002 11:48 pm
by BackupUser
Restored from previous forum. Originally posted by Danilo.

>I would like to know if it is possible to pass
>arguments to a PB program?
[...]
>program arg1 "argument 2 is here" arg3

Sure,
just open a console and do it.
(or write a batch file)

cya,
...Danilo
PS: look at ProgramParameter() under MISC in the PB-Help...

(registered PureBasic user)