[Implemented] ProgramParameter(0)
Posted: Fri Dec 27, 2002 11:45 pm
Restored from previous forum. Originally posted by pbdep.
Hello Fred,
I know ProgramParameter() will return one after one, but thats
a little anoying
Also Args(0) should better return the program name!
(Can be found in the Exe and Com stack between? 0000 - 0800 i think?)
Anyway Could you enhance ProgramParameter by ->
Result = ProgramParameter() ; return the length of Args
Result = ProgramParameter(0) ; return the Filename
Result = ProgramParameter(n) ; return the args ..n
The above is better then pushing yourself into WindowsAPI calls
and Linux executes to get your program name while its simply
inside the Binary
Regards,
Norman.
Hello Fred,
I know ProgramParameter() will return one after one, but thats
a little anoying

Also Args(0) should better return the program name!
(Can be found in the Exe and Com stack between? 0000 - 0800 i think?)
Anyway Could you enhance ProgramParameter by ->
Result = ProgramParameter() ; return the length of Args
Result = ProgramParameter(0) ; return the Filename
Result = ProgramParameter(n) ; return the args ..n
The above is better then pushing yourself into WindowsAPI calls
and Linux executes to get your program name while its simply
inside the Binary

Regards,
Norman.