Often I find the need to check what data type is being passed to one of my functions, but only being able to check at compile-time and not Run-time.
Then I found some posts eluding to MCM's "PROCESSS_ANY_ARRAY.BAS"
and thought a pretty interesting concept for array's but still does not satisfy variables.
Then I thought of how much a pain it is to remember which value to use to get which reply from ARRAYATTR and set out to write a wrapper for it (I could swear I did one before, but got stuck somewhere, and could not find it, so I started from scratch)
Along the way I figured out how to do the same with Variables. So I can really see some potential for other projects that I do not know the data type until runtime.
I posted in the Source Code Forum under "Get that Data Type" for others to use.
Then I found some posts eluding to MCM's "PROCESSS_ANY_ARRAY.BAS"
and thought a pretty interesting concept for array's but still does not satisfy variables.
Then I thought of how much a pain it is to remember which value to use to get which reply from ARRAYATTR and set out to write a wrapper for it (I could swear I did one before, but got stuck somewhere, and could not find it, so I started from scratch)
Along the way I figured out how to do the same with Variables. So I can really see some potential for other projects that I do not know the data type until runtime.
I posted in the Source Code Forum under "Get that Data Type" for others to use.

Comment