[Gambas-user] multi-dimensional constant string array, gambas at ...880..., joystick interface, gambas-win32

Jean-Francois Perreault cmcpero at ...142...
Fri Mar 4 19:22:22 CET 2005


Hi,

first , thanks to Benoit for your previous answer

also if anyone is already on the Freenode irc network , please drop by 
#gambas to say hello and if you have a gambas question do not hesitate 
to ask ! :)

now for my main question

this was already discussed on the 25/05/2004 and the answer was that 
this is not possible, I assume it still isn't but I guess it would be 
nice to have it

native constant arrays

they could be declared like

PUBLIC CONST sSystemList[5] AS String = 
["amstradcpc","appleii","atari26k","atari52k","atari78k"]

or even in multi-dimensional form

PUBLIC CONST sSystemList[5,5] AS String = 
["amstradcpc","appleii","atari26k","atari52k","atari78k"],["Amstrad 
CPC","Apple II","Atari 2600","Atari 5200","Atari 7800"]

this would be useful for read only array , it is faster and less memory 
intensive than creating and populating java-like strings array , and 
would work with up to 8 dimensions
and off course it could support other variables types

and finally I'm trying to make a Joystick interface class

I was going to type it here, but as I wrote my message it became too big 
, so see the attachement please, it is extremely commented

oh and also , is there developpement with gambas-win32 ?
I heard that trolltech released QT for win32 under the gpl , are we 
going to see a fully working gambas-win32 now ?

regards,

Jean-Francois Perreault
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JoystickDemo.tar.gz
Type: application/octet-stream
Size: 3458 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20050304/59c24ec6/attachment.obj>


More information about the User mailing list