×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




I have a CGIDEV2 program that has the following newly added code:

d getPrevUser     pr            50a
d                               12p 0
...
if reqrvw = Yes or reqrjt = Yes;
  updhtmlvar('puser':getPrevUser(reqrqn)); //reqrqn is a 12p 0 field...
  updhtmlvar('comments':comments);
  wrtsection('comments');
endif;

what's so crazy about this is that I get the following error on the first 
updhtmlvar call:

*RNF7535 - The type and attributes of parameter 1 do not match those of 
the prototype.

even if I change the code to put the returned results in a global variable 
and then try updhtmlvar, I get the same error...now, when I try the 
updhtmlvar with a constant value (like 'test'...), i don't get an error...

why would it accept the 2nd updhtmlvar and not the 1st?...

Shane

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.