Re: PASS ...
Posted in 1999
Wolfgang Zager — — source: Informix-list mailing list archive (1991-1998)
INKO <inko@eunet.yu> schrieb in im Newsbeitrag: 37A7D016.4FD55D51@eunet.yu... > I'm interesting in how to pass parameter from command line to 4ge > module, and how to manage it?? > How to transfer parameters (or variable) from 4ge module to another 4ge > module? Very simple: On command line just do e.g. prog.4ge para1 para2 In program prog.4ge You can use NUM_ARGS() to determine the number of passed parameters and things like LET myvar1 = ARG_VAL(1) LET myvar2 = ARG_VAL(2) to get the values of each single parameter. When running two 4ges, You can use a database table, or when one program calls the other changing Your RUN-Statement in the way You do on command line. Wolfgang