28-11-2006, 05:44 PM
Verrigan Wrote:Dragoons Master Wrote:Maybe I'll just need to add a few Int() someplaces, but that's ok for now.You don't want to use Int() because it returns an integer, which is only 2 bytes. My GetTickCount() function returns a Double, which is 8 bytes, so you would (possibly) get an OverFlow error if you try to use Int().
You could, however, modify the GetTickCount() function to return a value without the decimal, but I think it would be faster to leave things as they are..
Sorry Verry, but "Int()" actually returns a Long. You'd expect that it'd return a Integer based on the name, but a Long IS an integer, but it just doesn't have the same name.

