[Gambas-user] Dyn array

Fabien BODARD Gambasfr at ...11...
Mon Jul 28 20:40:03 CEST 2003


Le Lundi 28 Juillet 2003 19:53, Ahmad Kamal a écrit :
> Hi all,
>
> 	I am trying to make a dynamic array of integers, but it causing some
> problems. This one should be real easy, but I didn't find any example to
> help.
>
> Here is the code:
>
> Public pos as integer[]
>
> Public SUB form_open
> 	pos[1] = 100			'==>>> This causes "Null Object" Error??
>
>
> regards

Type : Public pos as NEW Integer[] 

Fabien Bodard




More information about the User mailing list