[Bug 142048] Long hexadecimal values are wrongly interpreted as Integers when they start with zeroes

2025-05-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142048

Mike Kaganski  changed:

   What|Removed |Added

 CC||kam...@post.cz

--- Comment #3 from Mike Kaganski  ---
*** Bug 151171 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 142048] Long hexadecimal values are wrongly interpreted as Integers when they start with zeroes

2024-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142048

Mike Kaganski  changed:

   What|Removed |Added

 CC||cornel...@ensea.fr

--- Comment #2 from Mike Kaganski  ---
*** Bug 162367 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 142048] Long hexadecimal values are wrongly interpreted as Integers when they start with zeroes

2021-05-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142048

Mike Kaganski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

--- Comment #1 from Mike Kaganski  ---
This is not a bug. The leading zeroes should not affect the type of the
literal. But when you need to have a literal of specific type, use type
characters: e.g., '&' for long (see tdf#130476).

The previous behavior was a bug. Current behavior is not only correct, but also
consistent with other Basic variants, like VBA.

Compare:

> MsgBox TypeName(&H8000)
> MsgBox TypeName(&H8000&)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs