Welcome,
How could i access values like this one.
./project1 project1 --message="show new message" --body="sample body" somefile.jpg somefile2.jpg somefil3.jpg
I don't know is this possible to do but i have to ask.
Look at above start data.
When i use
ParamStr(x)
in foreach loop, i can acces
--message="show new message"
--body="sample body"
somefile.jpg
somefile2.jpg
somefil3.jpg
and that's not what i'm looking for.
I need acces to something like this.
if(--message) exist then showmessage(message.value)
if(--body) exist then showmessage(body.value)
for last data (after --xxx) count print
somefile.jpg
somefile2.jpg
somefil3.jpg
Is there any function ready build in ?
--message="test"
Or should i use "forach for all elements" and then manually extract starting from =" ending to " to get value of message option parameter what is actually test ?
Regards