05-22-2023, 11:12 AM
(This post was last modified: 05-22-2023, 11:19 AM by badrobotic.)
I try it, but display error message:
this variable is already declared. If you want to use the same variable, remove the second declaration (typename and space before the variable).
Works!
this variable is already declared. If you want to use the same variable, remove the second declaration (typename and space before the variable).
int time=timeGetTime+5000
rep
out timeGetTime
if (time<timeGetTime)
out "5 seconds after"
int time=timeGetTime+5000
out "reset timestamp"
shutdown -6
wait 0.2Works!

Using sum to do certain action