From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- .../source/text/sbasic/shared/03120112.xhp | 67 ++++++++++++++++++++++ 1 file changed, 67 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..e1eba0429 --- /dev/null +++ b/helpcontent2/source/text/sbasic/shared/03120112.xhp @@ -0,0 +1,67 @@ + + + + + + + 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(charcode As Integer) As String + + +String + + charcode: Numeric expression 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 to 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 Ω + MsgBox ChrW(charcode := 116) ' "t" lowercase T letter +End Sub + + +
+ + + +
+ + +
\ No newline at end of file -- cgit v1.2.3