Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Repeat Not Working After Error routine
#2
this does not repeat after error:
Macro Macro2461
Code:
Copy      Help
rep
,0.5
,out 1
,act 0
,;g1
,out 2

err+
,out "error"
,goto g1

this repeats after error:
Macro Macro2461
Code:
Copy      Help
rep
,err-
,0.5
,out 1
,act 0
,;g1
,out 2
,err+
,,out "error"
,,goto g1

Quote:Also, advise if this is the way to write an error routine for a particular specific incident.
Macro Macro2461
Code:
Copy      Help
rep
,0.5
,out 1
,act 0
,err
,,out "error"
,out 2
or
Macro Macro2461
Code:
Copy      Help
rep
,0.5
,out 1
,act 0
,err sub.ErrorRoutine
,out 2


#sub ErrorRoutine v
out "error"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)