[Bug 33059] Visual Basic 6 shows overflow error with arithmetic expressions
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Jun 2 23:32:06 CDT 2013
http://bugs.winehq.org/show_bug.cgi?id=33059
Bruno Jesus <00cpxxx at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #2 from Bruno Jesus <00cpxxx at gmail.com> 2013-06-02 23:32:06 CDT ---
This is really invalid. 32767 and 1 are integers, when they are summed the
operation results in an overflow. Read more at:
http://social.msdn.microsoft.com/Forums/en-US/isvvba/thread/ba933eec-7ddd-493c-b32a-26cb5211eac1
This does work:
Dim a as Long
a = Clng(32767) + 1
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list