delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/09/15:45:42

From: kknd_bl AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: switch
Date: Fri, 09 Jun 2000 19:31:45 GMT
Organization: Deja.com - Before you buy.
Lines: 6
Message-ID: <8hrgn0$e19$1@nnrp1.deja.com>
NNTP-Posting-Host: 62.100.24.196
X-Article-Creation-Date: Fri Jun 09 19:31:45 2000 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)
X-Http-Proxy: 1.1 x54.deja.com:80 (Squid/1.1.22) for client 62.100.24.196
X-MyDeja-Info: XMYDJUIDkknd_bl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

If I use switch , I can only pass numbers (int) to it. How can I pass
words etc to switch and what should I type after 'case' when I do that?


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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