If i pass this argument:
-helloworld
I can get it easily.
But how do I do if i want to get this line as 1 argument or something:
-writethis "Hello Guys!"
I have only suceeded with retrieving it as 2 separate args :( (writethis, "hello Guys")
Printable View
If i pass this argument:
-helloworld
I can get it easily.
But how do I do if i want to get this line as 1 argument or something:
-writethis "Hello Guys!"
I have only suceeded with retrieving it as 2 separate args :( (writethis, "hello Guys")
Loop through the arguments and find the position of "-writethis". The position for the arg after that would be args(writethis_pos + 1).
of course :D thx