Consultor Eletrônico



Kbase 16621: HLC and User Interface functions like gets() printf()
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
HLC and User Interface functions like gets() printf()

HLC was created to give 4GL applications the ability to call C
functions for "behind the scenes" calculating and other functionality
that may not be easy to do in the 4GL. It is recommended that the 4GL
part of the application does all of the user interface work. In other
words, the 4GL should get all of the information that
users may be typing in and then pass what is needed to the C functions
for "behind the scenes" work. C functions such as gets() which
get data from STDIN are not recommended and, most likely, will NOT
work.

The other side of the coin is outputting information to the user.
Again, in an HLC application, the 4GL part of the application should
handle all of the user interface functionality such as DISPLAYING
output to the customer. C functions such as printf() that output
to STDOUT are not recommended and, most likely, will NOT work.

Progress Software Technical Support Note # 16621