Timer

Hello,
I’m trying to define a time variable ‘t’.
I’m using the following code:

StartTimer (1);
t = GetTimer (1);

I’ve defined t as an unsigned long, but it doesn’t seem to be working.
what am I doing wrong?

That’s really all there is to it.