Neoform
|
Coolness: 93200
| thread |
|
Coolness: 340370
| thread |
|
Coolness: 93200
| thread |
|
Coolness: 104040
| threyeyeyed! |
|
Coolness: 85640
| string? |
|
Coolness: 340370
| while (1)
{
echo "thread";
} |
|
Coolness: 202820
| syphilis! |
|
Coolness: 47575
| Originally posted by DJNEOFORM...
while (1)
{
echo "thread";
}
if (neoform=post)
printf("geek!");
else
printf("still geek! hehehehehe"); |
|
Coolness: 340370
| since you did a left-wise assignment in your if statement, it will always return true. next time try using "==" instead of "=" |
|
Coolness: 147030
| she didn't say which language she was using there :p |
|
Coolness: 340370
| the only language that i know of that uses "=" as a test and not an assignment is VB, and vb doesn't have a printf() function..
PHP, CPP and C do however.. and they all use "==" as tests and "=" as assignments. |
|
Coolness: 153760
| like... OMFGROFLMAOBBQCOPTER! |
|
Coolness: 92970
| yeah well he didn't even make a proper while condition.. |
|
Coolness: 340370
| by he, who do you mean? |
|
Coolness: 92970
| you. First of all, that's an infinite loop. Second of all you didn't specify which var is ==1 ;p |
|
Coolness: 149520
| YOUR MOM!!!!
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOh |
|
Coolness: 340370
| Originally posted by MOONDANCER...
you. First of all, that's an infinite loop. Second of all you didn't specify which var is ==1 ;p
it's a perfectly valid statement by the way.
1 always tests to be true.
and by the way, infinite loops are not syntax errors. they will almost always compile. |
|
Coolness: 92970
| no, I didn't say it was a syntax error, it's a logic error, besides you initially corrected her for the same thing ;), cause it would always return true. so thyaaaaaaaaaa |
|
Coolness: 340370
| there's no logic error in an infinite loop. sometimes you WANT an infinite loop, like in my example........... i specifically wanted it to infinitely display "thread" over and over.. which means there was no error. |
|
Coolness: 155380
| dorkitronnn haha. |
Neoform
You must be logged in to post a reply.