MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Error handling with MathLink


G'day all,
How do I return errors to Mathematica from a MathLink program?

For e.g.

	...
	ptr = malloc( HUGE_VAL );
	if (ptr == NULL) {
		// How do I return an error value to mathematica here?
	}

Thanks
Yas




  • Prev by Date: Formatting and Printing
  • Next by Date: Re: capturing ?Global`* to a list
  • Previous by thread: Re: Formatting and Printing
  • Next by thread: Error handling with MathLink