🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: git.ads
Article #17416

problems.... who would have guessed...

#17416
From: Erik M. Rainey
Date: Sun, 20 Jul 1997 00:00
26 lines
896 bytes
	Every time I compile i get the error:
error : no variable Shelf defined in warehouse

and it hightlights

 System.out.println(wh1.Shelf[iShelf]);

in p3. Now I did declare this: 

shelf[] Shelf = new shelf[NUMOFSHELVES];

in the warehouse class constructor. 
And the file name is shelf.java in lowercase.

Did i declare this wrong or is it something else?



--

Erik Rainey
Undergrad. CmpE.
Graphic Artist and Web Page Designer
http://www.america.net/~erainey
gt5614a@prism.gatech.edu
Technical Details
Message-ID: <33d2875b.11471103@news.gatech.edu>
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: ffb89,7cd41f148086807d,start
X-Google-Attributes: gidffb89,public
From: gt5614a@prism.gatech.edu (Erik M. Rainey)
Subject: problems.... who would have guessed...
Date: 1997/07/20
Message-ID: <33d2875b.11471103@news.gatech.edu>
X-Deja-AN: 257890589
Organization: Georgia Institute of Technology
Newsgroups: git.ads