613-518-1166 info@zimdatabases.com

ZIM Development Center (DC) for Zim 7

pBreakHandler

< All Topics

pBreakHandler

Handle user breaks.

Syntax

pBreakHandler ( inout vlStatus )

Parameters

vlStatus

Both an input and output parameter.

Comments

The pBreakHandler function provides a specific method of dealing with user break conditions (for example, Ctrl+Break or Ctrl+C). It would normally be called within an ON BREAK construct.

If vlStatus is BREAK, it assumes that a break has occurred already. pBreakHandler does nothing in this case. Otherwise, the user is informed that a break has occurred and asked if they really want to break. If they select OK, vlStatus is set to “BREAK”. If not, vlStatus is unchanged.

Uses

pUserMessage

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents