sleepy (Sep 30, 2002 13:13):
The question is: Can you tell me the difference between DosSleep(2000L) and DosSleep(2000)?
Yeah, the 'L' signifies that the value is a long. This is useful for making long integers where the value is less than the regular integer max (so that you don't have to implicitly cast things back and forth).
Shouldn't make a big difference with the DosSleep code though. It should still work. It normally takes in a long. Without the 'L', the compiler does an implicit conversion from an int to a long. For the version with the 'L', the compiler doesn't have to do that conversion.
Check out the pictures of my baby girl!