ErrStack.c



void StoreError(char *routine, char *error)

Inputs

char *routine Name of the routine generating the error
char *error Description of the error

Description

Stores an error on the error stack.

Created: 31.08.94 Last Modified: 31.08.94


void ShowErrors(void *PrintRoutine(char *), BOOL Trace)

Inputs

void *PrintRoutine(char *) The print routine or NULL
BOOL Trace Flag to print routine names

Description

Display the error stack using the supplied print routine or the simple default one if NULL is given.

Created: 31.08.94 Last Modified: 06.09.94


static void PrintAnError(char *string)

Inputs

char *string A string to be printed

Description

A simple error printing routine used if NULL given as a parameter to ShowErrors()

Created: 31.08.94 Last Modified: 31.08.94