returnInteger()

Adds an integer return value.

Syntax

(a FrontCallAnswer) returnInteger(
  value INTEGER )
  1. a is the function call answer object to initialize.
  2. value is the integer value to return.

Usage

This method adds an integer return value. You would use this method after a front call request. After checking for success(), values can be returned.

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

DEFINE fcAnswer FrontCallAnswer
...
# Return two values, '1' and '3'
CALL fcAnswer.success()
CALL fcAnswer.returnInteger(1)
CALL fcAnswer.returnInteger(3)