|
Aaron B. wrote:
> I guess I never use CONST, I always use VALUE.
> What is the reason you are
> using both *Omit and *NoPass? I put together the
> following and it works fine for me.
Maybe the prototype I posted is not very useful,
maybe if i code:
DProc PR N
D Parm1 5U 0 ONST
D Parm2 5U 0 CONST OPTIONS(*OMIT: *NOPASS)
D Parm3 5U 0 CONST OPTIONS(*NOPASS)
It would be useful to define the Parm2 as an *Omit
parameter if it's not always required, but giving the
chance to pass a third optional parameter. You can
code:
Callp Proc(1);
Callp Proc(1: 2);
Callp Proc(1: 2: 3);
Callp Proc(1: *omit: 3);
Carlos Kozuszko
------------
Internet GRATIS es Yahoo! Conexión
4004-1010 desde Buenos Aires. Usuario: yahoo; contraseña: yahoo
Más ciudades: http://conexion.yahoo.com.ar
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.