Develop > Programming > System Language reference > List: rtecalls > rtecall ("setdebug") function

rtecall ("setdebug") function

A RAD function that sets the debug parameters.

Function

rtecall("setdebug")

Format

$L.success.flag= rtecall($L.fnc.name, $L.return.code, $L.debug.parameter)

Parameters

The following parameters are valid for the rtecall("setdebug") function:

Parameter Data Type Description
$L.success.flag Logical Indicates whether the function is successful or not.
$L.fnc.name String

The name of the sub-function to call. This parameter is "select" in this case.

$L.return.code Number

Provides a more detailed return code.

$L.debug.parameter Number The debug parameters to set.

Factors

If $L.success.flg is false, the function fails. If $L.success.flg is true, the function succeeds.

Example

$L.success.flg=rtecall("setdebug", $L.return.code, "sqldebug:1 rtm:3")

This example sets sqldebug to 1 and rtm to 3 in current session.