Products Downloads


French version


 

Access

To display, create or modify the formal parameters which are passed with the current program, click the Formal parameters button of one of the following dialog boxes:

 

Data entry

Description

Description clearly identifying the parameter.

Length: 50 characters maximum.

Optional entry.

 

Length

Length: 30 characters maximum for a numeric parameter.

Mandatory entry.

This field is active only when the parameter selected in the Type list is "Alphanumeric", "Packed", "Extended" or "List".

 

Decimals

For an alphanumeric parameter: this field must be left blank.

For a numeric parameter: this field must include a number ranging from 0 to 9. The number of decimal positions must be less than the length of the parameter.

This field is active only when the parameter selected in the Type list is "Packed" or "Extended".

 

Formal name

Name which the parameter will have in the 4GL source. This name must be unique in the program.

If the formal name is entered, the level 1 generation of the program will generate a RECEIVE instruction.

Lowercase letters are forbidden.

 

Check boxes

Result parameter

Parameter characteristic.

Checked

Parameter is an output parameter.

Not checked

Parameter is not an output parameter.

By default: box not checked.

This checkbox is accessible for the programs assigned only to free type SRVPGM tasks with prototype; i.e. not ADELIA, VADELIA, SADELIA, WADELIA.

Only one output parameter may be set per program.

 

Lists

Context

List used to select the context of the parameters to display: program and his public procedures.

 
Type

List of the parameter types available.

Possible values:

"Alphanumeric"

"Binary 2"

"Binary 4"

"Boolean"

"Date"

"Extended"

"Integer 2"

"Integer 4"

"List"

"Packed"

"Pointer"

"Time"

"Timestamp"

"Unsigned integer 2"

"Unsigned integer 4"

 

Note: The following types: "Integer 2", "Integer 4", "Unsigned integer 2", "Unsigned integer 4", and "Pointer" are only available for programs with an ADELIA or free source type.

 

Formal parameters

List of the formal parameters existing in the program.

For each parameter, the description, the length, the number of decimal positions, and formal name are specified.

The sequence of parameters in the list can be modified.

Single-selection list.

 

Buttons

Add

This button adds to the list a new parameter defined in the entry fields.

 

Modify

This button updates the list after the possible modifications made in the entry fields.

It is not active when no parameter is selected in the list.

 

Delete

This button deletes the selected parameter.

It is not active when no parameter is selected in the list.

 

Modify (validation)

This button validates the modifications made and closes the dialog box.

 

Cancel

This button closes the dialog box without validating the modifications made.

Keyboard shortcut: Esc.

 

↑ Top of page

  • Aucune étiquette