🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #570

Re: ArrayList get problem.

#570
From: Marc Rohloff TeamB
Date: Wed, 11 Aug 2004 01:15
17 lines
1464 bytes
On Tue, 10 Aug 2004 20:13:35 +0100, JRobert wrote:


> curOpcode=(OPCODE_NODE[])OPCodeGroups.Item[(opcode&0xf000)>>12];
You should get the error 
'System.Collections.ArrayList' does not contain a definition 
for 'Item' ' here.

The correction would be:
curOpcode=(OPCODE_NODE[])OPCodeGroups[(opcode&0xf000)>>12];

If this doesn't solve your problem please put together a complete
example showing the error. Your example is missing a lot of detail.

-- 
Marc Rohloff [TeamB]
marc rohloff at myrealbox dot com
Technical Details
Message-ID: <1g4pi3sjwhqr7.dlg@marcrohloff.40tude.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!zen.net.uk!dedekind.zen.co.uk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <411910a7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,e82952e970601dc8
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: ArrayList get problem.
Newsgroups: borland.public.csharpbuilder.language.csharp
User-Agent: 40tude_Dialog/2.0.12.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <411910a7$1@newsgroups.borland.com>
Date: Tue, 10 Aug 2004 21:15:19 -0400
Message-ID: <1g4pi3sjwhqr7.dlg@marcrohloff.40tude.net>
NNTP-Posting-Host: 4.224.231.185
X-Trace: newsgroups.borland.com 1092186894 4.224.231.185 (10 Aug 2004 18:14:54 -0700)
Lines: 17
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!zen.net.uk!dedekind.zen.co.uk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail