Reference > Rule Studio User Interface > Editors and Views > Function Editor

The Function Editor is form-based and used to edit the content of a function.

To open the Function Editor, in the Rule Explorer:

Text

Click the Text tab in the Function Editor to open a page that allows you to manage the structure of the Business Object by manipulating packages and classes.

Table 15 Text Page in the Function Editor
Section 
Purpose 
General Information 
Name of the function. 
Documentation 
Information about the purpose of the function. 
Imports 
The statement used to import a Java class or package.  
Code 
IRL code that can contain any right-hand side statements, just as in the right-hand side of a rule, plus a return statement. 

Signature

Click the Signature tab in the Function Editor to modify the name, the return type, and the argument of the function.

Table 16 Signature Page
Section 
Purpose 
General Information 
Provides information about the Name and the Return type of the function. 
Arguments 
Displays the arguments by Name and Type. You can Add, Remove, and change the order (Up, Down) of arguments.  

IRL

Click the IRL tab in the Function Editor to open a read-only page with the IRL code for the function.

<name>.fct

Click the <name>.fct tab in the Function Editor to open a read-only page with the XML code for the function.

Related Concepts

Rulesets and Ruleset Archives
Functions
Ruleset Parameters
Rulesets and Ruleset Archives
Technical Rules

Related Tasks

Working with Technical Rules
Creating a Function

Related Reference

ILOG Rule Language