You probably get the error because Count is a property and not a method. There is a Object.GetProperty method you can use instead ;)
Print Object.GetProperty(["John", "Peter"], "Count") /Emil 2012/2/10 Fabián Flores Vadell <fabianfloresvad...@gmail.com> > Hi. > > When I execute this: > > Print Object.Call(["John", "Peter"], "Count") > > I get an error like this: > > "Count Symbol unknown in the String []" > > Thanks in advance. > > -- > Fabián Flores Vadell > www.comoprogramarcongambas.blogspot.com > www.speedbooksargentina.blogspot.com > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user