cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/07/19:43:51

Message-Id: <199908072328.TAA00432@delorie.com>
From: "Dan Gold" <TedMat AT CoastNet DOT com>
To: <djgpp AT delorie DOT com>
Subject: More then one truth value in switch?
Date: Wed, 9 Jan 1980 19:08:12 -0800
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

I don't know how to detect if more than one truth statement with a switch
could someone tell me.
I want to do something like

switch (ch) {

case 'e' && 'a': 

or is it something like

case 'e': no break...
case 'a': code....

Thanks from Dan Gold...


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019