|
I guess I fall between a and b. I was taught to program in Pascal and C where pointers and dynamic memory allocation are considered basic tools. I immediately got a job writing RPG and spent the next several years learning how to do things without pointers and dynamic memory allocation. I find I use pointers very little, but I have several programs in production that use the c bsearch() and one or two that use dynamically sized arrays. I've tried qsort(), but haven't seen a situation where it has a substantial advantage over sorta. I think if we had typed pointers and user defined data types in RPG I'd use pointers more because it makes pointer arithmetic a lot simpler (i.e. less typing) to code. <g> Anyone out there used trees or recursion? (I sure haven't. <g>) > -----Original Message----- > From: Simon Coulter [mailto:shc@flybynight.com.au] > Sent: Tuesday, January 15, 2002 12:34 AM > To: rpg400-l@midrange.com > Subject: Re: Adding pointers to RPG language. > /*************** Big Snip ************************************/ > a) Understand and use this stuff when required > b) Have heard of it and would like to try it out > c) Have heard of it and wouldn't go anywhere near it > d) Have no idea what I'm talking about :) > > Regards, > Simon Coulter. >
As an Amazon Associate we earn from qualifying purchases.
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.