[Gambas-user] Struct with Array Field

Mayost Sharon sharon at 455.co.il
Wed Apr 5 14:39:51 CEST 2023


Hello

How to add a Field that is an array inside a Struct

i tried

public struct ami_response
   string As String
   event_list As String[]
End Struct

Private v_response_temp As New Ami_response

But when:
v_response_temp.event_list.Add("Test")
Returns error: Null Object

Thank you


More information about the User mailing list