It looks as if you have an incorrect version of the PROTOTYPEB copy member. Check it for the c2n2 and zhbgetvar subprocedures - all parameters should have const keywords.
 
HTH

Regards
 
Paul Tuohy
ComCon
+353 1 282 6230
www.comconadvisor.com
 
 
----- Original Message -----
Sent: Monday, October 31, 2005 3:36 PM
Subject: [Easy400Group] Re: zhbgetvar when multiple instances of same variable.

--- In [email protected], Scott Klement <[EMAIL PROTECTED]...> wrote:
>
>
> > This works.
> > eval      afdate=c2n2(zhbgetvar('afdate':I))
> > This doesn't compile.
> > eval      afdate=c2n2(zhbgetvar('afdate':1))
>
> I use it with a constant without any problems.  What error does the
> compiler report?
>
Here is the error from the Compile Log:

*RNF7542 30      1 Parameter cannot be passed by reference when it
can be
                    changed during the call.                        
    





YAHOO! GROUPS LINKS




Reply via email to