1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

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

Discussão em 'StackOverflow' iniciado por fdantas, Janeiro 24, 2015.

  1. fdantas

    fdantas Administrator Moderador

    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...

Compartilhe esta Página