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


  • Subject: Re[2]: Prototyping printf()
  • From: Anton Gombkötö <Gombkoetoe@xxxxxxxxxx>
  • Date: Sun, 01 Oct 2000 15:37:31 +0200


> >>Now test "pointer".  It won't be valid.
> >>
> >>(Actually, there is no guarantee that this will fail, but there
> >>is also no guarantee that it will work.  It may depend on the
> >>alignment of charfld, and on the way RPG chooses to copy the
> >>data on the evals.)
> >
> >Sigh, and i thought it had to be invalid all the time, due to "the extra
> >bit" Frank Soltis is talking about in his "Inside the AS/400"...
> >
> >Seems to be a fairy tale... *sniff*
>
>Anton, it's not a fairy tale.  Whether charfld contains a valid
>pointer or not depends still depends on the pointer tag being set.
>It's just that some operations cause the pointer tags to be
>set even if the variable isn't explicitly declared as containing
>a pointer.


Thanks a lot, Barbara,

for restoring my view of the world! :-)

I think i got it now. The extra flag is in the storage, too, and laying 
some structure over this storage mustn't necessarily produce an invalid 
pointer. Hmmm. I think, you know what you're doing (and are no relatives of 
Sledge Hammer, if you know the TV series :-)

Thanks!



Mit freundlichen Grüssen / best regards

Anton Gombkötö

e-mail Office   :       mailto:Anton.Gombkoetoe@avenum.com
Homepage        :       http://www.avenum.com

----------
Avenum Technologie GmbH
Brigittenauer Lände 50-54, Stiege 6     Salzburger Strasse 29   Dreifelder 
Strasse 4
A-1200 Wien / Austria                   A-5163 Mattsee          D-70599 
Stuttgart

Tel./phone      :       +43-1/92101-148         +43-6217/5995 - 
0               +49-711/4411 116
Fax             :       +43-1/92101-300         +43-6217/5995 - 
13      +49-711/4411 563

----------
Avenum ist der Zusammenschluss von AS Software und Black System.
----------

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.