Login to reply

9 posts


by aktionline 2 years ago
when I start the project exe, how can I use the arguments used. thanks

by Rebin 2 years ago
Not sure what you mean, can you elaborate please?

Korduene Developer
by aktionline 2 years ago
I mean like, e.g.I want a program shows a message with the command line argument:
myproject.exe hello
shows hello
for this "static void Main(string[] args)" should be exist, but the global "string[] args" is not there. So I cannot use it in the program code, even if I add using "Modify and run". I hope I was able to explain.

by Rebin 2 years ago
I've just added the arguments node Application > Main > Arguments.
You can now pass arguments to the app on startup and use it anywhere in the app.
Here is a simple example below:


Korduene Developer
by aktionline 2 years ago
you are cool. thanks.

by Rebin 2 years ago
You're very welcome.

Korduene Developer
by aktionline 24 days ago
I cannot find Arguments node anymore. thanks for the top work!

by Rebin 23 days ago
The "Arguements" node is just a List under List > List with its name changed.
Thanks, truly appreciated 🙂

Korduene Developer
by aktionline 3 days ago
thanks for the answer but I still cannot use arguments when I start the copiled program. can you show an example. thanks

Login to reply
;