![]() |
![]() |
|
|
Fboolpr, Fboolpr32, Fvboolpr, Fvboolpr32(3fml)
NAME
Fboolpr(), Fboolpr32(), Fvboolpr(), Fvboolpr32() - print Boolean expression as parsed
Synopsis
#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)
Description
Fboolpr() prints a compiled expression to the specified output stream. The evaluation tree, tree, is one previously created with Fboolco(). 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 functionality 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.
A thread in a multithreaded application may issue a call to any of the functions documented here—Fboolpr(), Fboolpr32(), Fvboolpr(), or Fvboolpr32()—while running in any context state, including TPINVALIDCONTEXT.
Return Values
Fboolpr() is declared as returning a void, so there are no return values. Fvboolpr() returns -1 if the viewname is not valid.
Errors
Under the following conditions, Fvboolpr() fails and sets Ferror to:
viewname was not found in the files specified by VIEWDIR or VIEWFILES.
While trying to find viewname, the program failed to find one of the files specified by VIEWDIR or VIEWFILES.
While trying to find viewname, the program failed to open one of the files specified by VIEWDIR or VIEWFILES for reading.
While trying to find viewname, one of the files specified by VIEWDIR or VIEWFILES was corrupted or not a viewfile.
While trying to find viewname, malloc() failed while allocating space to hold the view information.
Portability
This function is not supported using the BEA Tuxedo System Workstation DLL for Windows.
See Also
Introduction to FML Functions, Fboolco, Fboolco32, Fvboolco, Fvboolco32(3fml)
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|