Jump to content

Recommended Posts

Posted (edited)

Hello, Id be grateful for any help. I need a way to put a variable into my program from outside.

What I mean is that my program need 2 variables, f.e. "x" and "y" and then run the rest.

I dont want to make 100 different exe's with only 2 different variables but to put them somehow when loading the program.

The perfect solution whould be running it via "run" window simply putting "program.exe 'x=1 y=2'" like GET method in php.

Is there any possibility to do that?

P.S. I cant put them after the program is opened via gui windows or any other way, it has to be while the program is loading.

Thanks for any help and sorry for my english :mellow:

Edited by Besn

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...