SL_SetCmdResultInt


NAME
SL_SetCmdResultInt -- sets the result of the command to the given numewr.

SYNOPSIS
success = SL_SetCmdResultInt(apphandle, number);
D0 A0 D0

SLFLAG SL_SetCmdResultInt(APPHANDLE, LONG);

FUNCTION
Sets the result value for a command. The result of a command is
different than it's return code.

For example, a command may return the text in a highlighted region.
This could not be returned in a return code, so the result is use.
A result is only set up if the calling command request it (via ARexx).
This call will do nothing if the result has not been asked for.

INPUTS
apphandle - as returned by SL_AppInitA.
number - the number to set as the result.

RESULTS
success - TRUE if the result was set.
FALSE if the result was not set.

SEE ALSO
SL_SetCmdResultStr.

 

SL_SetCmdResultInt  Command Section By Type  url:SL_SetCmdResultInt
  created:2008-03-01 23:36:32   last updated:2008-03-01 23:36:32
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_SetCmdResultInt
There are no user contributed comments for this page.