This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Kawa JTable String[][] arrays
- From: "Fabian Boucsein" <Fabian dot Boucsein at gmx dot de>
- To: "Per Bothner" <per at bothner dot com>
- Cc: "Tom Bousso" <tombousso at gmail dot com>, kawa at sourceware dot org
- Date: Fri, 10 Nov 2017 16:44:27 +0100
- Subject: Re: Kawa JTable String[][] arrays
- Authentication-results: sourceware.org; auth=none
- References: <trinity-7674b18c-b1b6-49e9-a7a7-46c0d172acfc-1510218373929@3c-app-gmx-bs67> <CAN9NfqOiFMUGgoyTddB89BwwD6h5etESy_Fi=-XOxnQXETsr2A@mail.gmail.com> <e8a06a71-d353-ba4d-2e38-5abb85955558@bothner.com>
- Sensitivity: Normal
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/