I was writing a quick test app to show System.Microseconds in a listbox and noticed something puzzling. I put this code in a 1-second timer:
Listbox1.AddRow(Str(System.Microseconds/1000000))
But each value came out the same instead of being 1 second apart. I had to get System.Microseconds first to get it to work as I wanted:
Var t as Double = System.Microseconds
Listbox1.AddRow(Str(t/1000000))
Is this to be expected or is it a bug?
4 posts - 3 participants