× 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: RPG - conversion vs re-write
  • From: Bob Cozzi <BobCozzi@xxxxxxx>
  • Date: Wed, 10 Sep 1997 23:58:48 -0500

Hans,

> Bob:  There's nothing wrong with the implementation of null-capable
> fields in RPG.  I have my concerns about the design, but the
> implementation is just fine!

Well, yes, the design, but don't you guy usually design it and write it? 
Then if it's accepted that's the way it is?

Anyway, I agree, I'm talking about the design.

But it seems like the whole idea of NULL is difference from things like C.
For example, if a pointer is NULL, it is set to X'00' isn't it? I thought 
that was how C did it. This happens to be the value of the pointer 
variable, is it also the attribute?

Sometime this dictionary definition of a word and the practical use of the 
word are often two different things. Take the *OMIT and *NULL use on 
parameters.  Why do we have to pass *OMIT, and then actually do an

IF myParm = *NULL

This is very confusing to me. I'm sure there's a reason, but wouldn't it 
have made it more clear to the end-programmer to have been written as

  CALLP   MyProc(value1, value2,  3 + 4,  *NULL, value5)

Then do the IF myParm = *NULL?  I would have liked that 1 million time 
more.  I avoid things like this because it's so unclear that maintenance 
programmers may not easily identify with it. (and that includes me.)

I guess you really said what is bothering me more than each of these little 
subtle issues in RPG IV.  It the point that stuff isn't ever finished. It's 
always "almost the way we wanted it" or "we're looking at doing that in a 
future release."  Since the biggest thorn in RPG's side seems to have moved 
on with his life, there really isn't any distractions or subversive 
actions. Maybe we can start fresh with V4R2?


Bob Cozzi
Bob@RPGIV.COM
www.rpgiv.com
AS/400 Books:  http://www.rpgiv.com/as400Books.html



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| 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.