What is the minimum value of a pointer?
The reason for this question is that i would like an element in a UDT to be an integer ID OR a pointer to an ID-string:
In the function that has the UDT as input i have to have a way to analyze the ID. If i know %MIN_POINTER_VALUE i can do this:
Regards
Peter
[This message has been edited by Peter Stephensen (edited June 18, 2000).]
The reason for this question is that i would like an element in a UDT to be an integer ID OR a pointer to an ID-string:
Code:
type MYTYPE .... ID as long 'Integer ID OR a pointer to an ID-string ... end type
Code:
function MyFunc(mt as MYTYPE) as long select case mt.ID case < %MIN_POINTER_VALUE ' The integer-id case case else ' The string-id case end select end function
Peter
[This message has been edited by Peter Stephensen (edited June 18, 2000).]
Comment