10.07.2015 Views

CF2 API Reference (PDF) - Persistor Instruments Inc

CF2 API Reference (PDF) - Persistor Instruments Inc

CF2 API Reference (PDF) - Persistor Instruments Inc

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>CF2</strong> <strong>API</strong> <strong>Reference</strong>QRdouble -- Query/Reply for double using: %lf %le %lE %lg %lGDescription:Prototype:Inputs:Returns:Query/Reply for double using: %lf %le %lE %lg %lGbool QRdouble(char *prompt, char *fmt, bool crok, double *value, double min, doublemax);prompt is a zero terminated C string to display as a prompt for the user.fmt is a standard C libary printf/scanf format stringcrok is set TRUE to accept the default reply with just a carriage-return (enter key)value is a pointer to a double variable that will hold the replymin if not equal to max, min is the minimum valid value to accept for a replymax if not equal to min, max is the maximum valid value to accept for a replyReturns TRUE for all but query cancelled (CTRL-C typed).QRfloat -- Query/Reply for float using: %f %e %E %g %GDescription: Query/Reply for float using: %f %e %E %g %GPrototype:Inputs:Returns:bool QRfloat(char *prompt, char *fmt, bool crok, float *value, float min, float max);prompt is a zero terminated C string to display as a prompt for the user.fmt is a standard C libary printf/scanf format stringcrok is set true to accept the default reply with just a carriage-return (enter key)value is a pointer to a float variable that will hold the replymin if not equal to max, min is the minimum valid value to accept for a replymax if not equal to min, max is the maximum valid value to accept for a replyReturns TRUE for all but query cancelled (CTRL-C typed).QRlong -- Query/Reply for long using: %li %ld %lu %loDescription:Prototype:Inputs:Returns:Query/Reply for long using: %li %ld %lu %lobool QRlong(char *prompt, char *fmt, bool crok, long *value, long min, long max);prompt is a zero terminated C string to display as a prompt for the user.fmt is a standard C libary printf/scanf format stringcrok is set true to accept the default reply with just a carriage-return (enter key)value is a pointer to a long variable that will hold the replymin and max same as described aboveReturns TRUE for all but query cancelled (CTRL-C typed).QRshort -- Query/Reply for short using: %i %hi %d %hd %u %hu %o %hoDescription:Prototype:Inputs:Returns:Query/Reply for short using: %i %hi %d %hd %u %hu %o %hobool QRshort(char *prompt, char *fmt, bool crok, short *value, short min, short max);prompt is a zero terminated C string to display as a prompt for the user.fmt is a standard C libary printf/scanf format stringcrok is set true to accept the default reply with just a carriage-return (enter key)value is a pointer to a short variable that will hold the replymin and max same as described aboveReturns TRUE for all but query cancelled (CTRL-C typed).PERSISTOR<strong>Instruments</strong> <strong>Inc</strong>.43 of 84<strong>CF2</strong> <strong>API</strong> <strong>Reference</strong>7/19/2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!