muheeb
6th June 2003, 17:06
Hi all,

Why can't I pass arguments to a session (3GL or 4GL)

when I run it in "Run Program" window in the browser.

I should read these arguments in "argc$" and "argv$"

and I always get "argc=1" and empty argv$(1).

<Session/Ojbject> <arg1> <arg2> ...

~Vamsi
6th June 2003, 18:20
Muheeb,

I have always had success with arguments. But then I do not start my 3GL programs from the "Run Program" window. Try using the Baan Shell. Launch this shell from the "Options Dialog" window.

gfasbender
6th June 2003, 18:43
Aren't there two fields in the Run Program? Try putting your arguments in the second field.

muheeb
9th June 2003, 09:58
Hi,

In fact I want to use the "Command" option in the

BW Configuratiion. Where can I put the arguments?

Thanks

gfasbender
9th June 2003, 15:01
If you want to put something in argc$ and args$ using RunProgram....