Boolean bValid;
        CharPtr pString;
        FormPtr pForm = FrmGetActiveForm();
        Word wFldIndex = FrmGetObjectIndex( pForm, wFieldID);
        FieldPtr pField = FrmGetObjectPtr( pForm, wFldIndex);
        ErrNonFatalDisplayIf( !pField, "Field ID not found on current
form.");

Compiles fine.  But if I declare the Boolean and CharPtr variables after the
ErrNonFatalDislpayIf() call, then I get syntax errors.  Weird!

Gary Miller
Consultant, CIBER Inc.
(703) 610-6564
[EMAIL PROTECTED]

Reply via email to