[Gambas-bugtracker] Bug #1613: no overflow when inside a FOR loop
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Wed Jun 12 18:19:16 CEST 2019
http://gambaswiki.org/bugtracker/edit?object=BUG.1613&from=L21haW4-
Gen BRAGA reported a new bug.
Summary
-------
no overflow when inside a FOR loop
Type : Bug
Priority : Medium
Gambas version : Master
Product : Language
Description
-----------
Following code
Public Sub dosomething()
Dim i, j As Byte
For i = 0 To 255
For j = 0 To 7
Next
Next
End
dies in infinite loop because of "i" overflow (255), with no error returned.
System information
------------------
[System]
Gambas=3.13.90
OperatingSystem=Linux
Kernel=4.4.0-150-generic
Architecture=x86_64
Distribution=Ubuntu 16.04.6 LTS
Desktop=UNITY
Theme=Gtk
Language=pt_BR.UTF-8
Memory=7896M
[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-1.0.so.0.803.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.2.0
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6
More information about the Bugtracker
mailing list