Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: pausecheck udf
For error checking, put the PauseCheck UDF at the top of your code, then toss in a few
PauseCheck()lines in your main loop. So every time you hit a PauseCheck you will have a short opportunity to whack the display box and if you do, it will pause there.
If you are very unlucky you may have window focus issues to deal with. So put the PauseChecks() in places where it does not matter.
#DefineFunction PauseCheck() x=Display(3,"Pause Opportunity","Click here to pause testing") If x==1 Pause("Testing Paused","Click OK to continue") EndIf Return(0) #EndFunction ;test Message(1,2) PauseCheck() Message(3,4) PauseCheck() Message(5,6)
Article ID: W15737
File Created: 2003:05:13:11:29:54
Last Updated: 2003:05:13:11:29:54