Fish Flac
Fish Flac
of FLAC
FISH (1)
Some remarks
FISH is case-insensitive. All characters after a semi-colon (;) are ignored.
If parameters are to be passed to functions, then they must be set beforehand
by using the SET command.
If a number is expected in FLAC, it can be substituted by FISH symbols.
As soon as a variable is mentioned in a valid FISH program line, it is
globally recognized both in FLAC commands and FISH code.
FISH Control Statements (1)
DEF <name>
To define a FISH function ...
END
Conditional statements
CASE_OF expr IF expr 1 test expr 2
··· ···
CASE n ELSE
··· ···
END_CASE END_IF
‘Looping’ statements
Sectioning statements
SECTION
···
END_SECTION
COMMAND
···
END_COMMAND
EXIT
EXIT SECTION
FISH Specification Statements
Memory Access
imem fmem
FISH Editor
The FISH Editor allows you to create and edit text files that contain FISH functions.
FISH functions defined in this way can be executed using the UTILITY/FishLib tool
if they are stored within the /flac/gui/fishlib directory. You can also run FISH
functions directly using the Run/Execute menu item from the FISH Editor.
To automate the execution of FISH functions, special comment lines are included in
the file. There are four types of input field:
4. Note: This contains notes and comments that describe the FISH function.
FISH Input Parameter Data
The Input/Define parameters menu item brings up a dialog that allows input
parameters to be defined. These will have values requested when the FISH
function is run either through the FISH Library (using the UTILITY/FishLib tool),
or executed here.
The input parameters for FISH functions are entered as a comment string of the
form:
;Input: name/type/value/description
in which
The Input/Define notes menu item brings up a text area where comments
can be saved.
Here you can describe the FISH function and these comments will be shown when
you try to execute the function from either the FISH Editor or the FISH Library
(using the UTILITY/FishLib tool).
The directory flac/gui/fishlib/ contains files with FISH functions accessed from the
UTILITY/FishLib tool.
These FISH functions have special comment lines included to allow the GIIC to identify
input parameters, notes and diagrams.
The directory structure inside flac/gui/fishlib/ is mirrored in this tool as a tree structure.