Neoform
|
Coolness: 93185
| thread |
|
Coolness: 340355
| thread |
|
Coolness: 93185
| thread |
|
Coolness: 104025
| threyeyeyed! |
|
Coolness: 85625
| string? |
|
Coolness: 340355
| while (1)
{
echo "thread";
} |
|
Coolness: 202805
| syphilis! |
|
Coolness: 47560
| Originally posted by DJNEOFORM...
while (1)
{
echo "thread";
}
if (neoform=post)
printf("geek!");
else
printf("still geek! hehehehehe"); |
|
Coolness: 340355
| since you did a left-wise assignment in your if statement, it will always return true. next time try using "==" instead of "=" |
|
Coolness: 147015
| she didn't say which language she was using there :p |
|
Coolness: 340355
| 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: 153745
| like... OMFGROFLMAOBBQCOPTER! |
|
Coolness: 92955
| yeah well he didn't even make a proper while condition.. |
|
Coolness: 340355
| by he, who do you mean? |
|
Coolness: 92955
| you. First of all, that's an infinite loop. Second of all you didn't specify which var is ==1 ;p |
|
Coolness: 149505
| YOUR MOM!!!!
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOh |
|
Coolness: 340355
| 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: 92955
| 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: 340355
| 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: 155365
| dorkitronnn haha. |
Neoform
You must be logged in to post a reply.