TransactionBase::ExecuteInWork (open)

Execute code inside work. Note: does not support asynchronous functions.

Syntax

LOADLIB "wh::dbase/transaction.whlib";

VARIANT FUNCTION ExecuteInWork(MACRO PTR todo)

Parameters

MACRO PTR todo

Function pointer to execute. Signature: VARIANT FUNCTION todo().

Return value

VARIANT

Return value of the called function pointer.