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 = 10000
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 
now is: Is there a way around this.
Or, could it be implemented? Or didn't I just get the point. In java it 
does work.


Best Regards

Johannes Frank


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to