[Gambas-user] Multiline strings

Laurent Carlier lordheavy at ...512...
Thu Mar 17 22:52:26 CET 2005


>
> You can join string together with & instead of +
> I don't know what the maximum string length is, but Gambas should be
> well able to handle a couple of hundred characters.
>
> photobod
>

from Gambas doc :
GB_STRING 

typedef
  struct {
    GB_TYPE type;
    struct {
      char *addr;
      long start;
      long len;
      } value;
    }
  GB_STRING;

So i guess it can be sizeof(long len) : 
4 bytes on my computer -> &hFFFFFFFF& 
-> 4294967295 caracters 

Am i wrong ?

Regards,

-- 

Laurent Carlier




More information about the User mailing list