Skip to main content

1E 9.x (on-premises)

NOTIMPLEMENTED

Keywords

NOTIMPLEMENTED

Purpose

Immediately terminate an instruction with exit code "Not implemented" and a custom error message.

Description

Syntax

//some statements
NOTIMPLEMENTED "custom error message";

NOTIMPLEMENTED causes an instruction to terminate with exit code of 3 meaning “Not implemented” and the specified custom error message. The error message must be supplied as a string literal, and cannot be a reference to a @table or any other kind of expression.

Examples

@dev = Device.GetSummary();
@win = SELECT * FROM @dev WHERE OperatingSystemType = "Windows";

IF NOT (@win)
    NOTIMPLEMENTED "This functionality is only available on Windows";
ENDIF;

// ... otherwise do something Windows-specific

Notes

See SCALE User Guide: Exit Codes.