[Gambas-user] some questions of: Struct

Jose J. Rodriguez joe1962 at ...626...
Mon Jan 17 14:46:20 CET 2011


On 1/16/11, nando <nando_f at ...951...> wrote:
>
> 4) This is similar to RECORD in VB.
>

It is like "Type" in VB6. For example:

Private Type MYSTRUCT
	ID As String
	Name As String
End Type

Then later you would do:

Dim MyPerson As MYSTRUCT
MyPerson.ID = "012"
MyPerson.Name = "Joe1962"

Regards,
Joe1962




More information about the User mailing list