Never used a Struct, and now playing around with it I find the help 
texts cannot help me. This is what I tried:

Public Struct Hund
   Wau As String
End Struct

Public Sub Button3_Click()
Dim Wauwau As New Hund

     Wauwau.Wau = "Bone"

Everything ok, but it's ONE Wauwau only. From the description, I would 
expect an array. So I tried

Public Struct Hund
   Wau As String[]
End Struct

Public Sub Button3_Click()
Dim Wauwau As New Hund

     Wauwau.Wau.Add("Bone")

and I get a "Null object" for the Add function.

What's going wrong here?

Rolf


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to