Re: [cc65]Unusuall?

Date view Thread view Subject view

From: troy silvey (tbsilvey_at_juno.com)
Date: 2001-01-03 03:48:51


>I only just joined this list.  Where is the rest of the code?  Since 
>you have to make sure that c is assigned *value then you could do this:
>
>c = *value;
>while (c != 39 && c != 62) {
>	(stuff)
>	<I am assuming value is pointed somewhere else in this loop>
>	c = *value;
>}

Well sorry guys, like I said, I didn't mean to turn this into
"let's all help troy learn C" but I appreciate the input.
To answer the question...... this is an infinite loop until
the user's input breaks it. That's why I had it all in one
for() or while () expression.

for (;conditions true or false;)
{}
more stuff ;

is basically what I was doing


troy

________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:38 CET