What is the window Screen number?

Just curious, shouldn’t this be:

for i as integer = 0 to ScreenCount - 1

If I had stored a value from a multiple monitor setup, and then when I restarted my program, the second monitor was not active, I would get an error message there.