enrique1 Member Licensed User Longtime User Jun 25, 2011 #1 Hi all, I have read the types tutorial searching answer but I didn't find it. It's a simple question: Is it possible to declare Structs or Types?? C example: Code: [B]Declare..[/B] struct { int a; int b; } exampleType; [B]And use..[/B] exampleType one; [B]Access..[/B] one.a; one.b; Thx!
Hi all, I have read the types tutorial searching answer but I didn't find it. It's a simple question: Is it possible to declare Structs or Types?? C example: Code: [B]Declare..[/B] struct { int a; int b; } exampleType; [B]And use..[/B] exampleType one; [B]Access..[/B] one.a; one.b; Thx!
klaus Expert Licensed User Longtime User Jun 25, 2011 #2 Yes you can, exemple: Code: Type Point (X As Double, Y As Double) Dim Pnt As Point Pnt.X = 10 Pnt.Y = 20 Best regards. Last edited: Apr 11, 2012 Upvote 0
Yes you can, exemple: Code: Type Point (X As Double, Y As Double) Dim Pnt As Point Pnt.X = 10 Pnt.Y = 20 Best regards.
droman Member Licensed User Longtime User Apr 11, 2012 #4 Type Point (X As Double, Y As Double) Dim Pnt As Point Pnt.X = 10 Pnt.Y = 20 Upvote 0