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



That's what I remember, but I thought it didn't work in V5.1?
The other thing I think "works" now and didn't previously was this (in C):

void* GetConstPtr(const void* pConst)
{
     
     return pConst;
}

-Bob Cozzi
www.iSeriesTV.com
Ask your Manager to watch iSeriesTV.com


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On
Behalf Of Barbara Morris
Sent: Thursday, August 31, 2006 3:57 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Allocate field with options(*nopass :*omit)

Bob Cozzi wrote:

It depends on what release you're targeting the compile.
If you're on V5.2 or later, I believe it works. It should/does work on V5.3.
It was supposed to work on V3.7 but nobody complained until long after V5.1
was
out.


You can't assign the value of %addr(constparm) on any release.  The
change made in v5r1 was to allow %addr(constparm) to be used in a
comparison.  (Not sure what you're remembering about v3.7 and "long
after v5.1".)


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.