Scadabank.com
Basic Scripting
(Answers)
Exercise #1 - Create a counter in an object using object scripting that counts up at a rate of once per second, and goes from zero to ten, then starts over at zero.
Using a Periodic script on the scripts tab of an object called $Counters

Exercise #2 - Adjust the counter scripting above so that it counts from zero to ten, then counts down from ten to zero, and repeats.
Using the same script above, but with adjustments - Notice the dim statement in the Declarations section

Exercise #3 - Using a time base of 100 milliseconds, create one counter that counts up to 500 milliseconds and stops, another counter that counts up to one second and stops, and a third counter that counts up to five seconds and stops.
Using a different Periodic script (with a time base of 00:00:00.1000000) which is 100ms
