[Gambas-user] R: Array of structs ?

Ru Vuott vuott at ...325...
Fri Jul 27 16:49:54 CEST 2012


Array-Variables of Struct type here (in Italian):

http://www.gambas-it.org/wiki/index.php/Strutture:_dichiarazione_ed_uso#Variabili_array_di_tipo_.22Struttura.22







--- Ven 27/7/12, wally <wally at ...2037...> ha scritto:

> Da: wally <wally at ...2037...>
> Oggetto: [Gambas-user] Array of structs ?
> A: Gambas-user at lists.sourceforge.net
> Data: Venerdì 27 luglio 2012, 15:49
> 
> I would like to use array of structs in gambas3.
> Is this possibel at all ?
> 
> e.g.
> 
> Public Struct P_Type
>    X As Float
>    Y As Float
> End Struct 
> 
> 
> Public Pi_ As New P_Type[] 
> 
> Pi_.Resize(6)
> 
> Pi_[0].X = Val(txb_x0.Text)
> Pi_[1].X = Val(txb_x1.Text)
> ..  a.s.o.
> 
> if not, are there alternatives to perform this task
> 
> wally
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's
> security and 
> threat landscape has changed and how IT managers can
> respond. Discussions 
> will include endpoint security, mobile security and the
> latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list