D
Delphi Sleuth
what the heck am I not getting. This little snipet doesn't do what I
thought it was going to do. Can anyone tell me why? I expected
2
Hello: 102
All I get is the 2. I had been trying to iterate though a list that
was not working... please help!
int cnt = 0;
cnt = cnt + 1;
cnt = cnt + 1;
Response.Write(cnt.ToString());
for (int counter = 0; counter == 100; counter++)
{
cnt++;
}
Response.Write("<BR>Hello: " + cnt.ToString());
thought it was going to do. Can anyone tell me why? I expected
2
Hello: 102
All I get is the 2. I had been trying to iterate though a list that
was not working... please help!
int cnt = 0;
cnt = cnt + 1;
cnt = cnt + 1;
Response.Write(cnt.ToString());
for (int counter = 0; counter == 100; counter++)
{
cnt++;
}
Response.Write("<BR>Hello: " + cnt.ToString());