Recording Time
Dylan Landry
Posts: 235
Could I ask what command would you use for PBASIC 2.5 to record time?
Could someone attach some sample code on how to display the amount of time elapsed since the program started on the debug terminal to appear like this?
Time Elapsed (sec)
1
2
3
4
....
Could someone attach some sample code on how to display the amount of time elapsed since the program started on the debug terminal to appear like this?
Time Elapsed (sec)
1
2
3
4
....
Comments
time var word
time = 0
debug "Time Elapsed (sec)",CR
do
pause 997
time = time + 1
debug time,CR
loop
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
·
BUT wow 03/2005!
Obviously, I really need to start googling you & my topic b4 posting questions!
You've got some " illuminating " posts Chris!!!! Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
·