MLGetReal32 (C Function)
MLGetReal32 has been replaced by WSGetReal32.
int MLGetReal32(MLINK link,float *x)
gets a single-precision floating-point number from link and stores it as a float in x.
Details

- MLGetReal32() returns 0 in the event of an error, and a nonzero value if the function succeeds.
- Use MLError() to retrieve the error code if MLGetReal32() fails.
- MLGetReal32() is declared in the MathLink header file mathlink.h.
Examples
Basic Examples (1)
#include "mathlink.h"
/* read a single-precision floating-point number from a link */
void f(MLINK lp)
{
float r;
if(! MLGetReal32(lp, &r))
{ /* unable to read the floating-point number from lp */ }
/* ... */
}