[Gambas-user] Print SizeOf(t) 't is a string
adamnt42 at ...626...
adamnt42 at ...626...
Thu Jul 30 04:40:17 CEST 2015
On Wed, 29 Jul 2015 21:21:09 -0400
"nando" <nando_f at ...951...> 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 <adamnt42 at ...3379... (sort of)>
More information about the User
mailing list