[prev in list] [next in list] [prev in thread] [next in thread]
List: gambas-user
Subject: Re: [Gambas-user] Little Array problem
From: Benoit Minisini <gambas () users ! sourceforge ! net>
Date: 2003-11-12 22:36:19
[Download RAW message or body]
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@users.sourceforge.net
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic