[Gambas-user] Arrays in Public Mode. Help
nando
nando_f at ...951...
Thu Apr 12 18:25:22 CEST 2007
Perhaps this is what you are looking for:
I use fixed dimension arrays.
Before any code (at the top) declare them
PRIVATE count [4001] AS Byte
PRIVATE L1 [4001,50] AS Integer
PRIVATE L2 [4001,50] AS Integer
PRIVATE L3 [4001,50] AS Integer
PRIVATE L4 [4001,50] AS Integer
and you can use them normally..as in:
SUB yourcode()
L2 [2000,23] = -23
label1.text = L2 [2000,23]
END
-Fernando
---------- Original Message -----------
From: sbungay <sbungay at ...981...>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Sent: Thu, 12 Apr 2007 09:38:56 -0400
Subject: Re: [Gambas-user] Arrays in Public Mode. Help
> You could use a Collection instead of an array.
>
> Hamilton Geminiano Andrioli Junior wrote:
> > I need to use Arrays in Public Mode.
> >
> > How to do it?
> > Gambas do not accept!!!
> >
> >
> > Regards
> > Hamilton From Brazil.
> >
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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