Difference between revisions of "SET FUNCTION"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 12: Line 12:
 
==Syntax==
 
==Syntax==
 
SET FUNCTION <expN> TO <expC>
 
SET FUNCTION <expN> TO <expC>
 +
 
SET FUNCTION <expC1> TO <expC2>
 
SET FUNCTION <expC1> TO <expC2>
  
  
 
==See Also==
 
==See Also==
SET CAPTURE, SET PCKEYS, REPLAY, MENU, @...GET, FKLABEL(), FKMAX()
+
[[@...GET]], [[MENU]], [[REPLAY]], [[SET CAPTURE]], [[SET PCKEYS]], [[FKLABEL()]], [[FKMAX()]]
  
  
Line 35: Line 36:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Set_Commands]]
+
[[Category:Set_Commands|FUNCTION]]

Revision as of 15:12, 11 March 2009

SET FUNCTION

Class

Recital Terminal Developer Environment


Purpose

Program the terminal function keys


Syntax

SET FUNCTION <expN> TO <expC>

SET FUNCTION <expC1> TO <expC2>


See Also

@...GET, MENU, REPLAY, SET CAPTURE, SET PCKEYS, FKLABEL(), FKMAX()


Description

The SET FUNCTION TO command provides the capability of reprogramming the function keys of the terminal. The SET PCKEYS command must be ON prior to programming function keys. When specifying a function key to be programmed, SET FUNCTION accepts the function key number <expN>, or the function key label <expC>. The character string assigned to a function key can be up to 50 characters long and may contain only one command.

Reprogramming the function keys has no effect on their standard usage within full screen forms based operations. Terminal function keys can only be used at the interactive prompt.


Example

set function 2 to "modify command "
set function [PF1] to "run show users"


Products

Recital Terminal Developer