User Tools

Site Tools


prop_asserthook.htm
Navigation:  Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:AssertHook ====== Previous pageReturn to chapter overviewNext page

A property of the SYSTEM built-in variable that sets the override procedure for the ASSERT internal Clarion procedure. Equivalent to {PROP:LibHook,8}. Assign the ADDRESS of the overriding procedure, and the runtime library will call the overriding procedure instead of the ASSERTprocedure. Assign zero and the runtime library will once again call its internal procedure. The overriding procedure's prototype must be exactly the same as the ASSERT procedure (STRING filename,UNSIGNED LineNumber). (WRITE-ONLY)

See Also: PROP:AssertHook2 for example source.

prop_asserthook.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1