Thanks guys,
I was in 'C' mode and needed the size of a structure.

Perhaps, Benoit, sizeof(a string, or a struct) can do exactly that?
wishing out loud.

Thanks!
DOH!
-Nando


---------- Original Message -----------
From: Benoît Minisini <gam...@users.sourceforge.net>
To: nand...@nothingsimple.com, mailing list for gambas users
<gambas-user@lists.sourceforge.net>
Sent: Wed, 29 Jul 2015 20:14:32 +0200
Subject: Re: [Gambas-user] Print SizeOf(t)   't is a string

> Le 29/07/2015 20:00, nando a écrit :
> > Dim t As String
> >
> > Print SizeOf(t)
> > Type mismatch: wanted integer, got string instead
> >
> > 'Sizeof also errors on a Stucture
> >
> > Ubuntu 14.04LTS
> > Gambas 3.7.1
> >
> > -Fernando
> >
> 
> Have you read the documentation of SizeOf()?
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------


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

Reply via email to