[Gambas-user] Signal #6 example

nando nando_f at ...951...
Fri Sep 1 14:46:04 CEST 2006


Ooooooooops!

PRIVATE terminals[10000] AS String 


---------- Original Message -----------
From: "Daniel Campos" <dcamposf at ...626...>
To: nando_f at ...951..., "mailing list for gambas users"
<gambas-user at lists.sourceforge.net>
Sent: Fri, 1 Sep 2006 13:28:15 +0200
Subject: Re: [Gambas-user] Signal #6 example

> 2006/9/1, nando <nando_f at ...1382...>:
> > I was assuming .CLEAR could be used with a global static string array
> > but perhaps not.
> >
> > Version 1.0.17
> >
> > 'global string array
> > DIM terminals[10000] AS STRING
> >
> >
> 
> What syntax is this? DIM can not be used for global declarations, and
> the way to declarate a string array is:
> 
> PUBLIC terminals as String[]
> 
> In the dev. version you can add the elements count (I do not remember
> in the stable version):
> 
> PUBLIC terminals as String[10000]
> 
> >
> > sub config()
> >
> >   terminals.clear  <---raised signal #6
> >
> 
> This is a bug, Gambas should not finish with a signal even if the
> syntax is wrong... I've tested in the dev. version and seems to not
> suffer that problem. Benoit?
> 
> Daniel
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------





More information about the User mailing list