delorie.com/archives/browse.cgi | search |
From: | Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: char to string |
Organization: | Pin Eight Software http://pineight.8m.com/ |
Message-ID: | <qecakscmh245ggbhgrvj0vfp60dq67p7rq@4ax.com> |
References: | <8hrgn0$e19$1 AT nnrp1 DOT deja DOT com> <5te05.12211$Za1 DOT 193667 AT newsc DOT telia DOT net> <uim3ksca9esukpf6huhdjlbrcrgp004i10 AT 4ax DOT com> <yU715.12920$Za1 DOT 201137 AT newsc DOT telia DOT net> |
X-Newsreader: | Forte Agent 1.7/32.534 |
MIME-Version: | 1.0 |
Lines: | 30 |
X-Trace: | /ba9QcUenBfmPIgfUlM9jy1XUCmx8SDc7Ue33x47ME+325MbuXJJ8YbsoBkg0q2VgwEtD61Y3A2V!PIB1l7zUiD2SRqqkKQ9RBHOaW4+Xlqqm2SQyg38kEFG0YyAYF1cmB4L+kBjb9gLVOpYI+rg/q1SM!VDc= |
X-Complaints-To: | abuse AT gte DOT net |
X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
NNTP-Posting-Date: | Mon, 12 Jun 2000 18:56:25 GMT |
Distribution: | world |
Date: | Mon, 12 Jun 2000 18:56:25 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On Mon, 12 Jun 2000 16:06:54 GMT, "Fredrik Persson" <irnman AT rocketmail DOT com> wrote: >ok ok i was a little hasty but it isnt so hard.. > >switch accepts ints and chars so what u have to do if u dont wanna use: > >if > >else if > and so on.. You use a language such as Basic that can handle it: select case cmd$ case "dir", "ls" files case "del", "rm" kill arg$(1) end select Otherwise, you use else-if. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |