Wilt, Charles wrote:
...
But maybe I'm over thinking it, thinking too much about what's going on behind the scenes instead of
up front. Just seems wrong to me to say char(*) isn't a pointer....
...

How about bin(4) or char(10)? I think that if you want to say char(*) is a pointer, then you have to be willing to say that every type is a pointer.

Consider the case where the parameter really is a pointer; if you pass it by reference, then under the covers, you pass a pointer to a pointer. I think that's the only case where we should say that the parameter type is a pointer. If we try to use the "pointer" terminology for other types, it would be very difficult to talk about true pointer parameters.


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.