MathGroup Archive 2002

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

Search the Archive

Error handling with MathLink

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37287] Error handling with MathLink
  • From: "Y.A.Tesiram" <yas at pcomm.hfi.unimelb.edu.au>
  • Date: Mon, 21 Oct 2002 02:31:17 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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