Not exactly. Millisecs() command returns ANY number between 0 and 2 billion (I think). You have to keep track of it yourself.
In your example you are storing the value returned by Millisecs() in Alarm. This is probably OK while your game loop is running but once it ends you may want to use a seperate variable to store the time that passed (because Millisecs() will keep incrementing).
In your example you are storing the value returned by Millisecs() in Alarm. This is probably OK while your game loop is running but once it ends you may want to use a seperate variable to store the time that passed (because Millisecs() will keep incrementing).