From 940b4d1848e8c70ab7642901a68594e8016caffc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:51:28 +0200 Subject: Adding upstream version 1:7.0.4. Signed-off-by: Daniel Baumann --- .../source/text/sbasic/shared/03120112.xhp | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 helpcontent2/source/text/sbasic/shared/03120112.xhp (limited to 'helpcontent2/source/text/sbasic/shared/03120112.xhp') diff --git a/helpcontent2/source/text/sbasic/shared/03120112.xhp b/helpcontent2/source/text/sbasic/shared/03120112.xhp new file mode 100644 index 000000000..39f9cebee --- /dev/null +++ b/helpcontent2/source/text/sbasic/shared/03120112.xhp @@ -0,0 +1,68 @@ + + + + + + + ChrW Function [VBA] + /text/sbasic/shared/03120112.xhp + + + + + + +
+ + ChrW function + + + +ChrW Function [VBA] +Returns the Unicode character that corresponds to the specified character code. +
+ + + +ChrW(Expression As Integer) + + +String + + 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. + + + + + +Sub ExampleChrW + ' This example inserts the Greek letters alpha and omega in a string. + MsgBox "From "+ ChrW(913)+" to " + ChrW(937) + ' The printout appears in the dialog as: From Α to Ω +End Sub + + +
+Chr +Asc +AscW +
+ + +
-- cgit v1.2.3