[Gambas-user] Syntax Error on Public const

Roger Grosswiler roger at ...1552...
Wed Aug 23 07:57:05 CEST 2006


Hello,

Using Gambas Version 1.0.14 with Fedora Core 5 and walking through John W.
Rittinghouse's nice book.

I was trying the use of constants, this gives me permanent syntax errors.
I tried it as follows:

PUBLIC CONST ID_ID as Integer = 30
PRIVATE CONST ID_ID as Integer = 30
CONST ID_ID as Integer = 30

What am i doing wrong?

Thanks,
Roger





More information about the User mailing list