You can try with an multi object style : Dim MyArray as integer[][] = [[1],[2]]
Print MyArray[0][0] '=1 Print "X=" & MyArray.Count '=2 Print "Y=" & MyArray[0].Count '=1 2015-10-21 3:30 GMT+02:00 adamn...@gmail.com <adamn...@gmail.com>: > On Wed, 21 Oct 2015 11:42:59 +1030 > "adamn...@gmail.com" <adamn...@gmail.com> wrote: > >> If anyone is awake. >> >> Can I test that an integer array of the form (x,y) is equal to [0,0] >> simply? In other words >> >> Dim MyDimensions as Integer[]=[0,0] >> (some user stuff happens) >> If MyDimensions=[0,0} then ... >> >> tia >> bruce >> -- >> B Bruen <adamn...@gnail.com (sort of)> > > Damn. It doesn't work. Oh well. :-( > b > > -- > B Bruen <adamn...@gnail.com (sort of)> > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user