Navigation:  Advanced Topics > Clarion Language Utilities >====== EndUnique (Close an application's event handle) ====== Previous pageReturn to chapter overviewNext page

EndUnique( eventnumber )

blk2blue.jpg

EndUnique Closes an application's event number
eventnumber A numeric constant or variable that uniquely identifies an application event.

EndUnique is used to invalidate the specified application event handle. This is useful where a function using BeginUnique was no longer valid, and you need to override the single event process when subsequent applications are started.

To add support for this utility to your existing applications, you need only include the CWUTIL.INC file in the Global Map section of your program:

INCLUDE('CWUTIL.INC'),ONCE

Example:

EndUnique(GLO:AppEventNumber)

See Also:

BeginUnique