SL_SetCmdResultStr


NAME
SL_SetCmdResultStr -- sets the result of the command to the given string.

SYNOPSIS
success = SL_SetCmdResultStr(apphandle, string);
D0 A0 A1

SLFLAG SL_SetCmdResultStr(APPHANDLE, SLCHAR *);

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.
string - the string to set as the result. This does not need to
remain. The string is copied.

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

SEE ALSO
SL_SetCmdResultInt.

 

SL_SetCmdResultStr  Command Section By Type  url:SL_SetCmdResultStr
  created:2008-03-01 23:36:15   last updated:2008-03-01 23:36:15
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

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