The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

my switch is invalid

Posted by Frank on May 10, 2001 at 4:39 AM

Hello, im tring to do this


switch(memory[pcounter1]) {

witch is basically an array inside a switch.
i will update pcounter after each switch cycle
so i thought it would work but no. memory array is of
type int. can you switch an array?



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us