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



Don,

One thing many RPG programmers don't understand is that C does not "protect
you from yourself".  

In RPG, if you say "Hit myself over the head with a very large hammer", RPG
will turn that into "Hit myself softly over the head with a small hammer so
that no damage is done".

In C, you will get exactly what you are asking for.  A Crushed skull!

If you always adhere to safe coding practices, your code will always be
safe.  But if you stop to think "is it worth being safe", you a) burn brain
cells for no reason and b) You'll spend a lot of time debugging weird things
because your unsafe code has made your test programs flakey.

Elvis pointed out some very good things.

JMHO after 15 years of C/C++ and pushing 30 years of RPG.

Bob

> -----Original Message-----
> 
> Elvis,
>    Thanks for the info.  And sorry for the sloppy
> code; I was trying to condense the orginal into the
> least amount of lines for testing.

<snip>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.