🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3058

MultiArrays...and .length() ?

#3058
From: JRadical
Date: Wed, 15 Apr 1998 00:00
54 lines
2205 bytes
This is a multi-part message in MIME format.

------=_NextPart_000_000E_01BD6870.0D7D8E40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

int[][] x1;

x1=3Dnew int[10][20];

My problem is if x1.length =3D 10; how do I find out what =
x1[0..9].length equals ?

x1[0].length and x1[].length both produce error's.  Any help please....

regards
JR-



------=_NextPart_000_000E_01BD6870.0D7D8E40
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>int[][] x1;</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>x1=3Dnew int[10][20];</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>My problem is if x1.length =3D 10; =
how do I find=20
out what x1[0..9].length equals ?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>x1[0].length and x1[].length both =
produce=20
error's.&nbsp; Any help please....</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>regards</FONT></DIV>
<DIV><FONT size=3D2>JR-</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000E_01BD6870.0D7D8E40--
Technical Details
Message-ID: <6h2oif$6dd10@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,4eb7a67b060c4a8d,start
X-Google-Attributes: gid1089d0,public
From: "JRadical" <71043.167@compuserve.com>
Subject: MultiArrays...and .length() ?
Date: 1998/04/15
Message-ID: <6h2oif$6dd10@forums.borland.com>
X-Deja-AN: 344363518
Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01BD6870.0D7D8E40"
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: Radical Systems Corp
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api