[Gambas-user] Little Array problem
Benoit Minisini
gambas at ...1...
Wed Nov 12 23:36:19 CET 2003
Le Samedi 13 Septembre 2003 16:26, R Onstenk a écrit :
> in my code i have:
>
> 'global
> PRIVATE argdat as string[]
> private argset as variant[]
>
> PUBLIC SUB MyInit()
> argdat = ["","","","","yes",""] 'first column
>
> for i=0 to iColumns
> argset.add(argdat,i)
> argdat = ["","","","","no",""] 'second to last
> END
>
> The problem is the first element in the argdat array.
> It must be a "" empty string. The MyInit set a matrix
> of strings that are handled by code to contain selected
> data. The offset in the argdat is the index for values
> ranges that can be used.
> With this initial value I get 'The program has returned the value: 1'
>
>
> ---
> Ron
>
>
I think this is the string array bug I will fix in the 0.72 version.
Regards,
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list