there has got to be a better way, this could get ugly
with 10 fields or so
#include PalmOS.h
#include testaleart.h
#include testaleart_res.h
Char testdata[256], testdata1[256];
Boolean nofield = false;
UInt16 status;
static Boolean frmMain_frmTestButton_OnSelect(EventPtr event)
{
From: druid [EMAIL PROTECTED]
there has got to be a better way, this could get ugly
with 10 fields or so
You could wrap the test and alert in a private work function
that's passed the name and index of the field. That means
that your main code would just be:
if (handleField(Name, fldName))