From bf2dff69f84ad28836924d3bf311910248aca1f9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 20 Feb 2020 13:51:22 +0100 Subject: tdf#130426 Update documentation for Basic Chr and ChrW functions ...for "tdf#130426 Support Basic Chr(&H8000), ..., Chr(&HFFFF) again" Change-Id: I425a55ba1b055f94d993bb99c5412cc0414dc48d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/89100 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- source/text/sbasic/shared/03120102.xhp | 2 +- source/text/sbasic/shared/03120112.xhp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/text/sbasic/shared/03120102.xhp b/source/text/sbasic/shared/03120102.xhp index b516500fe8..a18c3beb1b 100644 --- a/source/text/sbasic/shared/03120102.xhp +++ b/source/text/sbasic/shared/03120102.xhp @@ -42,7 +42,7 @@ String - Expression: a numeric expression that represents a valid 8-bit ASCII value (0-255) or a 16-bit Unicode value. + Expression: a numeric expression that represents a valid 8-bit ASCII value (0-255) or a 16-bit Unicode value. (To support expressions with a nominally negative argument like Chr(&H8000) in a backwards-compatible way, values in the range −32768 to −1 are internally mapped to the range 32768 to 65535.) When VBA compatibility mode is enabled (OPTION VBASUPPORT 1), Expression is a numeric expression that represents a valid 8-bit ASCII value (0-255) only. diff --git a/source/text/sbasic/shared/03120112.xhp b/source/text/sbasic/shared/03120112.xhp index cb3394daba..39f9cebee0 100644 --- a/source/text/sbasic/shared/03120112.xhp +++ b/source/text/sbasic/shared/03120112.xhp @@ -45,7 +45,7 @@ String - Expression: Numeric variables that represent a valid 16 bit Unicode value (0-65535). An empty value returns error code 5. A value out of the range [0,65535] returns error code 6. + Expression: Numeric variables that represent a valid 16 bit Unicode value (0-65535). (To support expressions with a nominally negative argument like ChrW(&H8000) in a backwards-compatible way, values in the range −32768 to −1 are internally mapped to the range 32768 to 65535.) An empty value returns error code 5. A value out of the range [0,65535] returns error code 6. -- cgit v1.2.3