Richard Spitz wrote:
>
> Hi Informixers,
>
> the above error message appears when I compile 4GL programs under
> 4GL 7.20UD1 with the "Program/Compile" option of i4gl. Platform
> is a Siemens-Nixdorf RM400 under Reliant Unix 5.43C20.
>
> Any idea what that is? Apart from the message, everything seems to
> be working just fine.
>
> Regards, Richard
> --
finderr gives for -4076:
-4076 Class of CAST object must be a base of class specified as
right
argument.
You cannot cast an object to any class; you can only cast it as
being of a class derived from its stated class. In the CAST
expression in this statement, the stated class of the object
reference on the left is not a base class of the class named as
the right argument. Review the expression to make sure you
have specified the object you intended (possibly you need to
use parentheses around the object reference) and the target
class.
This is a NewEra message. I have no idea what +4076 might be.
--
Peter Lancashire
Information Systems Specialist, Bayer plc
Eastern Way, Bury St Edmunds, Suffolk, IP32 7AH, UK
Tel: +44-1635-562258, Fax: +44-1635-562281
---
If all else fails, read the instructions and the release notes.
Join Infuse, the UK Informix User Group at http://www.infuse.org.uk/
---