[6472] in java-interest

home help back first fref pref prev next nref lref last post

Multidimensional Arrays

daemon@ATHENA.MIT.EDU (Lou Fasulo)
Sun Mar 31 16:48:01 1996

Date:         Fri, 29 Mar 1996 15:52:12 -0500
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: Lou Fasulo <fasulol@POSTOFFICE.PTD.NET>
To: Multiple recipients of list JAVA-INTEREST
              <JAVA-INTEREST@JAVASOFT.COM>

I am writing a program where I need a multidimensional array.  I
realize that Java does not support this but you can simulate it with
the:
                type varname[][]

        However, when I try to declare and initialize it I get a
statement expected error.

        I would like to create a loop that initializes an 8x8 matrix
with different values for each "location"  How can I do this??

        You can reply directly to me at:
                fasulol@postoffice.ptd.net

                Thanks

-----
This message has been forwarded via the JAVA-INTEREST
mailing list.  In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).

-----
This message has been forwarded via the JAVA-INTEREST
mailing list.  In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).

-----
This message has been forwarded via the JAVA-INTEREST
mailing list.  In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).

home help back first fref pref prev next nref lref last post