This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Kawa JTable String[][] arrays


Thank you very much Per and Tom.

Per's version works very fine for me. Although i think they should be almost the same. What does ::String[][]? And maybe could you explain the difference between string and String?

Kind regards,
Fabian


Gesendet: Donnerstag, 09. November 2017 um 19:14 Uhr
Von: "Per Bothner" <per@bothner.com>
An: "Tom Bousso" <tombousso@gmail.com>, "Fabian Boucsein" <Fabian.Boucsein@gmx.de>
Cc: kawa@sourceware.org
Betreff: Re: Kawa JTable String[][] arrays
On 11/09/2017 01:11 AM, Tom Bousso wrote:
> Hi Fabian,
>
> You can try something like this: (define data (String[][] (String[] "Japan"
> "245") (String[] "Abc" "345")))

Even better:

(define data::String[][] [["Japan" "245"] ["USA" "240"]])
--
--Per Bothner
per@bothner.com http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]