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

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 return message, any return message args previously set with set_return_data ().

 

Set_return_data can be used in two ways - set_return_data (data) appends the data which can be any type to the end of the message and set_return_data (int index, data) which places the data at the index in the message   

Usage

 

Results

 

Examples

{
// 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_error(int error) 

Attachments

    Outcomes