× 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.



Joe,

How does %open behave strangely? I just did a little test (added two
procedures to a mainline program; one for opening and one for closing;
called the opening one in case of page up and the closing one in case of
page down; opened the file in the mainline when it was not open; stepped
through the whole thing in debug mode) and did not find anything strange.

Joep Beckeringh


----- Original Message -----
From: "Joe Pluta" <joepluta@xxxxxxxxxxxxxxxxx>
To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx>
Sent: Friday, November 21, 2003 3:51 PM
Subject: RE: Automatic based variables


> > From: Joep Beckeringh
> >
> > But what bizarre reason might that be? If the compiler would allocate
> > storage, that storage would be unreachable once the basing pointer is
> set.
>
> I can think of no good reason to allocate storage.  However, the
> compiler doesn't always do things that make sense to me.  For example,
> if you have a module where you have both a mainline and called
> procedures, %OPEN BIF acts strangely.  There's no good reason for it to
> act the way it does.  So I've learned to take nothing for granted, and I
> was just trying to make sure of my supposition.
>
> Joe


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.