returnString()

Adds a string return value.

Syntax

(a FrontCallAnswer) returnString(
  value STRING )
  1. a is the front call answer object to initialize.
  2. value is the string value to return.

Usage

This method adds a string return value. You would use this method after a front call request. After a check with success(), values can be returned.

You must declare a variable of type ggc.FrontCallAnswer. For example:

DEFINE fcAnswer FrontCallAnswer
...
# Return two values, 'foo' and 'bar'
CALL fcAnswer.success()
CALL fcAnswer.returnString("foo")
CALL fcAnswer.returnString("bar")