Programming logic

During my tests with watch Flex2 I encountered a strange behavior with the “for” statement and I first thought about a bug of the player. This simple script was crashing the player (it enters in an infinite loop):

source site
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="utf-8"?>
private function test():void
{
for(var a:uint = 10; a >= 0; a--)
{
trace(a);
}
}

get link Once I changed the type of the “a” variable into a “Number” and an “int” I understand what I was missing…
The script worked well after the type change. But to be sure I did also a little test in enter C which gave me the same results as the flex2 one (infinite loop):

http://www.madelux.fr/?global-warming-term-paper
1
2
3
4
5
6
7
8
9
10
int main(int argc, char *argv[])
{
unsigned int a;
for(a = 10; a >= 0; a--)
{
printf("a = %d\n", a);
}
system("PAUSE");
return 0;
}

College Paper Writing Services Yes, it’s absolutely logical!
After the last step, when a is 0, the program loses next value because it cannot be a negative value and then the loop continues to cicle.

http://basilsdentalclinic.com/?corrig-dissertation-bac-2006

Writing On Paper Ok, it’s not a player bug… it’s me 🙁

best essays in english