Guardian Programming Reference Summary for C

Functions Summary (D-F)
Guardian Programming Reference Summary for C522630-001
5-50
FORMATCONVERT[X]
Converts the external format to the internal form required for presentation to the
FORMATDATA[X] procedures.
status
conversion
#include <cextdecs(FORMATCONVERT)>
short FORMATCONVERT ( char *iformat /* o */
,short iformatlen /* i */
,char *eformat /* i */
,short eformatlen /* i */
,short *scales /* o */
,short *scale-count /* i,o */
,short conversion ); /* i */
#include <cextdecs(FORMATCONVERTX)>
short FORMATCONVERTX ( char *iformat /* o */
,short iformatlen /* i */
,const char *eformat /* i */
,short eformatlen /* i */
,short _near *scales /* o */
,short _near *scale-count /* i,o */
,short conversion ); /* i */
> 0 = Successful conversion. The value is the number of bytes in the converted
format (iformat).
= 0 = iformatlen was insufficient to hold the entire converted format.
< 0 = Error in the format. The value is the negated byte location in the input string
at which the error was detected. The first byte of eformat is numbered 1.
0 = Check the validity of the format only.
1 = Produce an expanded form that has modifiers and decorations.
2 = Produce a compact conversion, but ignore modifiers and decorations.