You are here: Foswiki>APPX Web>FullAPIList>0LASubrDataWriteStream (20 May 2020, JeanNeron)Edit Attach

.DATA WRITE STREAM

This subroutine allows you to return data to the caller. This is only useful when working with the Data API (Release 5.5.0 & higher)


Usage:

      GOSUB    --- .DATA WRITE STREAM

Description:

This subroutine returns the contents of --- STREAM BUFFER to the caller. The data will be converted to UTF-8 encoding (if not already in that encoding).

No parameters are required. You must populate --- STREAM BUFFER before calling this routine. --- STREAM BUFFER will be cleared after the call.

If APPX_DATASVC_LOG is set then every call will be logged and if there is a problem writing the data, the error will also be logged.

Comments


 

-- %USERSIG{JeanNeron - 2020-03-03}%
Topic revision: r3 - 20 May 2020, JeanNeron
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback