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

--- Comment #5 from LibreOfficiant <[email protected]> ---
In the absence of a suffix &h &o notations should return Integer or Long
values. Basic seems to behave this way although Basic engine internals are
stored differently. 

Whenever hexadecimal &h or octal &o literals can be rendered to Int16 numbers,
Typename() returns "Integer", Vartype() returns V_INTEGER

Whenever hexadecimal &h or octal &o literals are rendered to Int32 numbers,
Typename() returns "Double" instead of "Long", Vartype() returns V_INTEGER
instead of V_LONG

Basic-like languages do not necessarily 'explicitly' enforce 'default' Integer
or 'Long' number typing for & h &o notations. However I feel LibreOffice Basic
should support that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to