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 <wa...@voosen.eu> ha scritto:

> Da: wally <wa...@voosen.eu>
> Oggetto: [Gambas-user] Array of structs ?
> A: Gambas-user@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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 

------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to