how to output a stream to a variable in Progress 4gl or Webspeed

1.5k Views Asked by At

I am trying to output a Stream to a longchar. Webspeed has a built in Stream {&WEBSTREAM} I am trying to put it into a longchar to do some conditional formatting and then re-stream it to the web server.

I can output the stream to a file like this:

hStream = STREAM WEBSTREAM:HANDLE.

OUTPUT STREAM-HANDLE hStream TO VALUE("C:\htm.txt").

But that is going to be to slow, (I cant be writing every html page to disk before i manipulate it).

Is their a way to Stream to a variable?

0

There are 0 best solutions below