[Gambas-user] About Gambas arrays

Benoit Minisini gambas at ...1...
Tue May 3 16:28:27 CEST 2005


On Tuesday 03 May 2005 16:17, nando wrote:
> Thank you.
>
> About item (2) below - what I meant was:
>
> would...
>   my_array [1234,12] = "HELLO"
>   my_array [1234,12] = "Good Bye"
>
> perform a re-malloc to lengthen the string space requirements
> because line 2 is longer than line 1 ?
>
> -Fernando
>

No. The string contents is allocated in its own place. The array contents are 
just pointers to these strings.

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list