|
>> Besides it doesn't fits my needs of retrieving the data type using the address of a variable. I'm afraid that you'll never be able to do that. The pointer carries zero information about the type of data it points to - nor could it. Think about a DS where the first field is numeric. The DS is character, but it's pointer will, indeed must, be identical to that of the numeric field that begins the DS. Do you know of any system where this can be done - I've sure never heard of it. Languages like C "pretend" to have pointers to specific data types, but they're just pointers like any other and are interchangeable. Jon Paris Partner400 www.Partner400.com
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.