Difference: 0LASubrStreamRead (8 vs. 9)

Revision 92016-03-02 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.STREAM READ

Line: 39 to 39
 If --- .STREAM READ contains 'Data was truncated', it means the <read_buffer> field you passed was not large enough to contain all the data that was read. If --- .STREAM READ contains 'EOF', then there is no more data to be read.

Binary File Support - 5.4.4

Changed:
<
<
Starting in Release 5.4.4 you can open a file with a 'binary' option. In this case, the <read length> tells the API how many characters to read. If you do not pass a <read length> or pass zero, it will default to the length of the <read buffer> field. The <length read> will always tell you how many characters were actually read. If the length of <read_buffer> is greater than 32000, only the first 32000 bytes will be read. The API will return EOF in .STREAM READ when there are no more characters to be read.
>
>
Starting in Release 5.4.4 you can open a file with a 'binary' option. In this case, the <read length> tells the API how many characters to read. If you do not pass a <read length> or pass zero, it will default to the length of the <read buffer> field. If the length of <read_buffer> is greater than 32000, only the first 32000 bytes will be read. The API might return fewer characters than requested if there aren't enough in the file. The <length read> will always tell you how many characters were actually read. The API will return EOF in .STREAM READ when there are no more characters to be read.
 

Comments:

Read what other users have said about this page or add your own comments.

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback