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

Status
Not open for further replies.
E

Eman Gallifer

Guest
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?

Continue reading...
 
Status
Not open for further replies.
Top