Page 1 of 1

Using "ProgramParameter" - a question please

Posted: Sat Sep 23, 2023 8:46 pm
by JohnnyRockets
Hi all,

Total PB Newbie here with a quick question to just point me in the right direction please!

If I want to write a program to take command line arguments, is "ProgramParameter" the correct place to start?


Thanks so much!


JR

Re: Using "ProgramParameter" - a question please

Posted: Sat Sep 23, 2023 8:52 pm
by Kuron
Yes, Sir.

Re: Using "ProgramParameter" - a question please

Posted: Sat Sep 23, 2023 9:51 pm
by Olli
To do a test from the IDE, you have a specific field in the compiler options :

Code: Select all

0: IDE
1: [Compile] menu
2: [Compiler options] item
3: [Compile/Run] tab
4: [Executable commandline] field -> type your parameter(s) string

Re: Using "ProgramParameter" - a question please

Posted: Sat Sep 23, 2023 9:57 pm
by AZJIO

Re: Using "ProgramParameter" - a question please

Posted: Sun Sep 24, 2023 3:21 pm
by Olli
I add a complete wish to link the pages between the page of the ProgramParameter() function and the page of the command-line of the IDE compiler options.

Subject title : NoBugButAdd (= No bug but add)

Re: Using "ProgramParameter" - a question please

Posted: Sun Sep 24, 2023 8:06 pm
by JohnnyRockets
Thank you all!

I appreciate your help! :)


Johnny