Array Type Recovery

A PocketC native palm library offering native forms and assorted utilities

Postby MountainLogic on Mon Nov 22, 2004 3:04 pm

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
Posts: 1
Joined: Mon Nov 22, 2004 2:59 pm
Location: USA

Postby jstadolnik on Mon Nov 22, 2004 4:45 pm

PocketC has a typeof() function which you can use on each array element.


The PToolboxLib guy.
Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA

Return to Pocket Toolbox

Who is online

Users browsing this forum: No registered users and 2 guests