ascot diagnostics

A5431

Error: A Caché Direct callback raises <_CALLBACK SYNTAX>: IRIS has no client to call

A name beginning with _, in the form _txtStatus, _txtStatus.Text or _frmMain!txtStatus.Text, is a Caché Direct callback to a control of a Visual Basic client. IRIS compiles the line but has no such client, so the line raises <_CALLBACK SYNTAX> when it runs. Use a local variable or a property instead.

IRIS compiles the example, and do ##class(Demo.CacheDirectCallback).Call() raises <_CALLBACK SYNTAX> when it runs.

Class Demo.CacheDirectCallback
{

ClassMethod Call()
{
    Set _txtStatus = "done" //! A5431
}

}

All diagnostics