Function Details Screen [ HP ALLBASE/4GL Developer Reference Manual Vol. 2 ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Reference Manual Vol. 2
Function Details Screen
This screen allows you to enter the logic commands that make up a
function logic block. You must complete the function header screen
before you can use this screen to define the function logic block.
Screen Image
Field Descriptions
Function. Enter the name of a function defined on the function header
screen.
Step Number. Enter the number of the step to be added, modified or
deleted. Step numbers must be in the range 1 to 99.
The top half of the screen displays up to 10 steps for the function.
This display is always oriented around the step number entered. Only the
first 76 characters of each step are displayed.
Action. The following actions may be performed on the step corresponding
to the step number:
A add a new step.
C change an existing step.
D delete a step.
I insert a new step before this one.
R renumber steps.
L list all steps.
S swap display pages. (HP ALLBASE/4GL displays steps in groups of 10
from 1 to 99 -- that is, 1 to 10, 11 to 20, 21 to 30 and so on, in
the display area of the screen.)
If the current step is a new step, the action defaults to A. Otherwise
the action defaults to C.
Command. Enter the name of the logic command to be performed by this
step. If the step already exists, HP ALLBASE/4GL displays the command
name automatically and skips this field.
If the command uses a window, HP ALLBASE/4GL displays it automatically.
If you leave this field blank, HP ALLBASE/4GL displays a general purpose
unformatted window to allow free format entry of the command.
Function Keys
f1 Command Help Displays a series of help screens containing a
summary of the HP ALLBASE/4GL logic commands.
f2 Function Header Cancels the current screen and displays the
function header screen.
f3 Process Detail Cancels the current screen and displays the
process details screen.
f4 Generate Function Generates the function.
Additional Information
If you enter the number of an existing step that uses a window, HP
ALLBASE/4GL checks that the contents of the fields will fit into the
window's fields. If so, HP ALLBASE/4GL displays the window with the
command formatted into the appropriate fields. If not, HP ALLBASE/4GL
displays the command on the general purpose window.
You must always press the Commit Data function key after you delete,
insert or change a command in the function. HP ALLBASE/4GL does not
update the appropriate internal file until you commit the screen data.
The D action blanks out the step from the screen. However the step is
not deleted from the actual logic block until you press the Commit Data
function key.
When you add or delete a step, HP ALLBASE/4GL renumbers the remaining
steps in the logic block. HP ALLBASE/4GL also attempts to correct
references to the renumbered steps in logic commands such as ENTER.
However, after you add or delete a step, you should always check that
steps have been renumbered correctly, and references to renumbered steps
are correct.
You must generate a function before it can be executed by the application
at run time.
MPE/iX 5.0 Documentation