05-23-2014, 07:21 PM
Thanks.
Of course, after posting I get how it works:
Function "document": ParseCommandLine
Macro-1: (my program code, utilizing the above function. And "_command" will get me access to the command line parameters)
Macro-2: (my example program to try out Macro-1)
Many thanks.
Now I understand a little bit more :mrgreen:
Now I go trying your other suggestions.
Of course, after posting I get how it works:
Function "document": ParseCommandLine
/
function $cmdLine ARRAY(str)&a
a=0
if(empty(cmdLine)) ret
int i n
word** w=CommandLineToArgvW(@cmdLine &n)
for(i 0 n) a[].ansi(w[i])
Macro-1: (my program code, utilizing the above function. And "_command" will get me access to the command line parameters)
Macro-2: (my example program to try out Macro-1)
Many thanks.
Now I understand a little bit more :mrgreen:
Now I go trying your other suggestions.