Fboolpr, Fboolpr32, Fvboolpr, Fvboolpr32
-print Boolean expression as parsed
#include <stdio.h>
#include "fml.h"
void
Fboolpr(char *tree, FILE *iop)
int
Fvboolpr(char *tree, FILE *iop, char *viewname)
#include "fml32.h"
void
Fboolpr32(char *tree, FILE *iop)
int
Fvboolpr32(char *tree, FILE *iop, char *viewname)
Fboolpr()
prints a compiled expression to the specified output stream. The evaluation tree, tree, is one previously created with Fboolco
(3). iop is a pointer of type FILE
to the output stream. The output is fully parenthesized, as it was parsed (as indicated by the evaluation tree). The function is useful for debugging.
Fboolpr32
is used with 32-bit FML.
Fvboolpr
and Fvboolpr32
provide the same functionallity for views. The viewname parameter indicates the view from which the field offsets are taken, and should be the same view specified for Fvboolco
or Fvboolco32
.
These functions are not supported on Workstation platforms.
Fboolpr
() is declared as returning a void
, so there are no return values. Fvboolpr
returns -1 if the view name is not valid.
Under the following conditions, Fvboolpr
() fails and sets Ferror
to:
[FBADVIEW]
VIEWDIR
or VIEWFILES
.
[FVFOPEN]
VIEWDIR
or VIEWFILES
.
[EUNIX]
VIEWDIR
or VIEWFILES
for reading.
[FVFSYNTAX]
VIEWDIR
or VIEWFILES
was corrupted or not a view file.
[FMALLOC]
malloc
() failed while allocating space to hold the view information.
This function is not supported using the BEA TUXEDO System Workstation DLL for OS/2 and Microsoft Windows.
Fintro
(3)Fboolco
(3)