Consultor Eletrônico



Kbase P107284: How to use the INPUT stream THROUGH statement properly with an external executable
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/08/2005
Status: Verified

GOAL:

How to use the INPUT stream THROUGH statement properly

GOAL:

4GL code example for using INPUT stream THROUGH

FIX:

DEF VAR vret AS CHAR.
DEF VAR vshow AS CHAR.
INPUT THROUGH "find" VALUE("E:\wrk\progress\V91d\dev2 -iname database.conf -maxdepth 2").
REPEAT:
IMPORT UNFORMATTED vret.
vshow = vshow + vret + CHR(10).
END.
INPUT CLOSE.
MESSAGE vshow VIEW-AS ALERT-BOX.