Can someone please look at the following code and tell
me why I am getting the following error

ERROR-
Link Error   : Starter.cpp: '_d_itod' referenced from
'displayRate()' is undefined.

Link Error   : Starter.cpp: '_d_mul' referenced from
'displayRate()' is undefined.

Link Error   : Starter.cpp: '_d_dtoi' referenced from
'displayRate()' is undefined.


CODE-
static  void displayRate()
{
        Char text1[10], text90[10], text85[10], text60[10],
text50[10] ;
        Int32 age, val90, val85, val60, val50;
        
        FormPtr frmP = FrmGetActiveForm();

        FieldPtr fld1P = (FieldPtr)FrmGetObjectPtr( frmP,
FrmGetObjectIndex( frmP,MainAgeField));

        StrCopy( text1, FldGetTextPtr( fld1P ) );

        age = StrAToI( text1 );

        val50 = (220 - age) * .90;
        
        StrPrintF( text90, "%ld", val90 );
        SetFieldTextFromStr( MainF90Field, text90 );
        return;
}


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to