Silverfrost Forums

Welcome to our forums

Passing arguments to Plato?

2 Jun 2020 2:02 #25549

I have a program that was built to execute from the cmd line which accepts 3 arguments from the command line: Input filename, Output filename, and Plot filename. I can make an .exe file in Plato, but I don't know how to pass the arguments when running the program in Plato. I've searched the forum under Plato for various keywords (passing arguments to Plato), but it returns 100s of results not all of which are found in the Plato subject group. Any help with this matter would be appreciated. Thank you.

2 Jun 2020 3:21 #25550

If I understand you correctly, in a Plato project, go to the Project menu and select Properties. Then under 'Compiler Options' and 'Miscellaneous', select 'Launch arguments' and type in the arguments that you want to use.

2 Jun 2020 3:36 #25551

Thank you. I'll give it a try.

Please login to reply.