On Wed, 29 Jul 2015 21:21:09 -0400
"nando" <nand...@nothingsimple.com> wrote:

> Benoit,
> Perhaps you could provide an example. I find nothing for the correct 
> syntax/use.
> 
> For example...
> 
> Private p As Pointer
> 
> Public Struct EmployeeStruct
>   FirstName as String
>   Age as integer
> End Struct
> 
> Public AnEmployee as EmployeeStruct
> 
> AnEmployee = New EmployeeStruct
> 
> p = AnEmployee
> 
> Print p.Sizeof()   'run-time error
> 
> -N
> 

See the wiki help. I have added an example.
http://gambaswiki.org/wiki/comp/gb/object

b

-- 
B Bruen <adamn...@gnail.com (sort of)>

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to