MGL_result

Returns result code of the last graphics operation.

Declaration

int MGLAPI MGL_result(void)

Prototype In

mgraph.h

Return Value

Result code of the last graphics operation

Description

This function returns the result code of the last graphics operation. The internal result code is reset back to grOK on return from this routine, so you should only call the routine once after the graphics operation. Error codes returned by this function are enumerated in MGL_errorType.

See Also

MGL_setResult, MGL_errorMsg

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com