Sorry to waste the bandwidth, but I am starting out in Palm
Development, have Kinnon's Bible, and consulted various Palm
documentation sources, etc. However, I seem to be a little
thick at being unable to tie all of this together, hence the
following questions:
(1) Are all fields essentially char arrays that
must be converted to the appropriate numeric
format -- much as is done with the lowly regarded
scanf() in c?
(2) How is numeric input with a decimal safely
handled? I note that fields may be limited to
numeric input but this does not preclude
alpha values beinig pasted onto the field
on a form.
(3) Must one use mathlib (either its source bound
into the app or calls to the library to do
floating point math?
I realize these are pretty elemental questions -- I am just
trying to get myself organized here -- so, if anyone has a
pretty straightforward example of how a numeric field is
handled from the form resource to the DB, I would welcome a
reference to that. Happy to study the source -- particularly
any decent defensive routines.
Extending my anticipated answer of "YES" to #1 above, is the
driving paradigm for databases as is done with the Address
app -- or Kinnon's Librarian app -- that is, the enums and
the packed records representing pointers or offsets to data?
Or, is it permissable to put in a few hard that will
*always* be in the record versus other information that may
be there intermittently?
My thanks in advance for any responses and I appreciate the
patience.
William Phinizy
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/