Re: [Gambas-user] Constants

2009-07-20 Thread Benoît Minisini
> Hello Benoît, Hello Gambas user, > > I am currently learning Gambas. The following program gives me a syntax > error. > > ' Gambas module file > CONST C AS Integer = 1 > PUBLIC SUB Main() > DIM A[C] AS Integer > DIM B[C] AS Integer > END > > Now obviously using a constant in an array does

[Gambas-user] Constants

2009-07-20 Thread Johannes Frank
Hello Benoît, Hello Gambas user, I am currently learning Gambas. The following program gives me a syntax error. ' Gambas module file CONST C AS Integer = 1 PUBLIC SUB Main() DIM A[C] AS Integer DIM B[C] AS Integer END Now obviously using a constant in an array does not work. My question