[Gambas-user] ¿Bug In Gambas 1.9.20 with static long constants?
Dani Santos
jose.santos at ...429...
Wed Nov 2 12:30:04 CET 2005
Hi!
I've got a Static Class Module in my App where I define constants
related to my Database: Default values, Size of VarChar fields, etc.
The name of the class is CProcBBDD.
Today, I've add this constants to the class:
' Default users.
STATIC PUBLIC CONST DefaultAdminUserId AS Long = 1
STATIC PUBLIC CONST DefaultSingleUserId AS Long = 2
When I do something like:
Dim lngIdUser
lngIdUser = CProcBBDD.DefaultSingleUserId
Gambas says to me (translating from spanish):
The program stopped unexpectedly
sending the signal #11
Please, report a bug...
I add a simple project to reproduce the bug.
NOTE: I'm currently using Gambas 1.9.20
--
Dani Santos <jose.santos at ...429...>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pruebas.tar.gz
Type: application/x-compressed-tar
Size: 8188 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20051102/db05c555/attachment.bin>
More information about the User
mailing list