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



Carlos,

>Besides it doesnt fits my needs of retrieving the data
>type using the address of a variable. 

The address doesn't carry that information.  Consider a data structure which
overlays a 2-byte character field as multiple data types:

 - 2-byte character
 - 5-digit signed integer
 - 5-digit unsigned integer
 - 4-digit binary
 - 3-digit packed
 - 2-digit zoned

And the binary / packed / zone versions could have 0 or more decimal positions.
All of them would have the exact same address passed to another routine, and
you'd have no way of determing which from the address itself.

Doug

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.