🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17189

2D arrays? (newbie)

#17189
From: Matthew Wegener
Date: Wed, 09 Dec 1998 00:00
21 lines
1319 bytes
are all arrays and vectors 1 dimmentional? (index,data)
is there a way to make a 2D array? (index, custom index, data, etc.)
or atleast a customindexed array? (cutom index, data)

I'm trying to set the values of choice fields depending on a value
selected in another choice field, and I think the easiest way to do that
would be to look for neach occurrance of the value chosen in choice1 in
the array and add the corresponding items into choice2.

from all I can tell, I'll have to either (1) make to arrays and tie them
together usnig the indexes of each, or (2) stacking the arrays into 1:
(index,choice1data)
(index+1, choice2data)
(index,choice1data)
(index+1,choice2data)

any suggestions?

TIA

Matthew Wegener
Technical Details
Message-ID: <366EF5C2.95F6F28A@isoftdata.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: f74b3,2efe203f6355e8a9,start
X-Google-Attributes: gidf74b3,public
From: Matthew Wegener <mwegener@isoftdata.com>
Subject: 2D arrays? (newbie)
Date: 1998/12/09
Message-ID: <366EF5C2.95F6F28A@isoftdata.com>
X-Deja-AN: 420578162
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: newsabuse@remarQ.com
X-Trace: 913241277 V1ARDBBYK71BDCE67C usenet58.supernews.com
Organization: ISoft Data Systems, Inc.
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language