× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Barbara,

I agree, maybe a little misguided, if only for reason of consistancy.
If pointers can be implicitly defined, then variable string and integer
types should also - should one want to be consistant.   Having to
explicitly define all variables is a great feature of the language.  it
greatly reduces keystroke error such as these.

The only reason I found it was because I was re-reading my emails and thier
responses and spotted the error.  at first I thought I'd miskeyed it on the
email and was going to post a correction - but I had copy/pasted it from
the code.

Thanks,

Rick

>my pointer was not set because I misspelled my pointer variable name -
>$QxChkBase should have been $QzChkBase.
>
>which begs the question - how did my program compile?  $QxChkBase is not a
>valid variable or pointer.

Rick, it's a "feature" of the ILE RPG compiler, that you don't have to
explicitly define a basing pointer.  It's not an accidental feature, but
it was misguided in my unofficial-not-speaking-for-IBM opinion.

Barbara Morris



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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.