OpenMathFolio

Opens the math folio and sets _MathBase global variable.

Synopsis

int32 OpenMathFolio( void )

Description

This function attempts to open the math folio structure. If it successfully locates the math folio, it sets the global variable _MathBase to point to the math folio structure. If it fails to open the folio, it returns a negative number that can be printed with the PrintfSysError function.

Programs must call OpenMathFolio before attempting to use any of the math folio functions.

Return Value

If successful, the function sets the global variable _MathBase to point to the math folio structure. If unsuccessful, it returns a negative number.

Implementation

Convenience call implemented in operamath.lib V20.

Associated Files

operamath.h, operamath.lib