CA SDM::.SPEL::. set_error(int error)

Document created by TMACUL Champion on Mar 3, 2017
Version 1Show Document
  • View in full screen mode

Overview

There are three builtin functions to build a reply message to the caller, is used to set the error flag in the return message. 

Usage

set_error(int error)

Results

 

Examples

 

set_error(1);

 

{
// NOTE:  E_INVALID is an enum
set_error (E_INVALID);
set_return_data ("Illegal operation requested");
set_return_data ("\"Fred\" is not a valid main course");
}

 

 

 

Where can I find Spel functions documentation? 

CA SDM::.SPEL::. set_return_data([int index,] data) 

Attachments

    Outcomes