ascot diagnostics

A5362

Information: ‘{name}’ is a user-defined command (^%ZLANGC00), so the call is not checked

A command spelled Z and letters that IRIS has none of is a user-defined command, for the instance’s ^%ZLANGC00 routine to implement. IRIS compiles it and looks the definition up when it runs, raising <SYNTAX> where the routine has none. The arguments are checked, the command itself is not.

IRIS compiles the example, and do ##class(Demo.UserCommand).Log("started") raises <SYNTAX> when it runs.

Class Demo.UserCommand
{

ClassMethod Log(message As %String)
{
    ZLog message //! A5362
}

}

All diagnostics