Page 1 of 1

PostPosted: Mon Nov 22, 2004 3:04 pm
by MountainLogic
Is it possible to recover type information from Arrays? I'm interested in building temp arrays to store form data and then use that type information to drive writing (and reading) the proper data type (string, int, etc) into a Pilot-DB record. It seems like I should be able to generalize a fair bit of code this way.


I'm just getting started with pocket C so if I'm thinking too ANSI C/C++ please let me know.

Thanks -scott

PostPosted: Mon Nov 22, 2004 4:45 pm
by jstadolnik
PocketC has a typeof() function which you can use on each array element.

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm