[Libreoffice-bugs] [Bug 131241] Hex value gives negative long / single / double number
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 18 18:24:24 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=131241
--- Comment #4 from Andreas Heinisch <andreas.heinisch at yahoo.de> ---
I think the behaviour of LO is correct, but data type characters with literals
should affect resulting value type, so the following code should work in the
future (note the ampersand at the end of the hex value).
Sub aLetterExample
Dim aLetter As Long
aLetter = &HFFE0&
msgbox chr(aLetter)
End Sub
I will target this as I have finished another bug.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200318/1828e004/attachment.htm>
More information about the Libreoffice-bugs
mailing list