|
If the InStreet parm is not going to be changed within the procedure, you could add the CONST keyword to it, then it wouldn't matter if one was 4P0 and the other is 4S0. Another "good" programming practice is to always fully define your fields/variables. Never code "4 0" always specify the data type. Never code "3 ", always specify "3A" if its alpha. That way you don't have to guess what the numeric data-type default is. -Bob Cozzi www.RPGxTools.com If everything is under control, you are going too slow. - Mario Andretti -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of RPower@xxxxxxxxxx Sent: Friday, July 08, 2005 11:49 AM To: RPG programming on the AS400 / iSeries Subject: Re: Prototype error You got the prize... I had to fix the name at the end of the procedure as well, but this error was caused by the street#, which is 4P0 off the file, and I had it as 4S0. Sigh, forgive my noobness at this, but I'm trying to get "into" the new stuff. Ron Power Programmer Information Services City Of St. John's, NL P.O. Box 908 St. John's, NL A1C 5M2 Tel: 709-576-8132 Email: rpower@xxxxxxxxxx Website: http://www.stjohns.ca/ ___________________________________________________________________________ Success is going from failure to failure without a loss of enthusiasm. - Sir Winston Churchill rob@xxxxxxxxx Sent by: rpg400-l-bounces@xxxxxxxxxxxx 2005/07/08 02:06 PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> cc Subject Re: Prototype error Need definitions for Wcstreet#:Wccivic#:Wcunit Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.