Date: prev next · Thread: first prev next last
July 2020 Archives by date, by thread · List index


https://bugs.documentfoundation.org/show_bug.cgi?id=134516

--- Comment #9 from Alain🐍Romedenne <alain.romedenne@libreoffice.org> ---
Not a bug:

-  If the variable being written is a variable-length string, Put writes a
2-byte descriptor containing the string length and then the variable. The
record length specified by the Len clause in the Open statement must be at
least 2 bytes greater than the actual length of the string.

   as per
https://docs.microsoft.com/fr-fr/office/vba/language/reference/user-interface-help/put-statement

- The Put statement behaves differently, depending on the type of file you're
using. 
Random files: The first two bytes written indicate the length of the string.
Then the Put statement writes the number of characters specified by that
length. If variableName is not initialized, the Put statement writes a string
of length 0.

  as per
https://help.hcltechsw.com/dom_designer/9.0.1/appdev/LSAZ_PUT_STATEMENT.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.