[Gambas-user] Array's

Fabien Bodard gambas.fr at ...626...
Tue Jun 7 08:11:01 CEST 2011


Public ids as new integer [7,24]

in your declaration you create an embedded aray not a dynamic one

2011/6/7 Shane Powell <shanep at ...2481...>:
> Hi everyone I have this code
>
> public ids[7,24] as integer
>
> public sub clearit()
> ids.Clear
> end
>
> and i get embedded array error at the clear call
> can anyone tell me the reason for this ?
>
> thanks
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard




More information about the User mailing list