# Define - End

…

end

…

end

The end statement terminates the FISH function or operator whose definition is initiated with the fish define or fish operator command. The FISH code between the two is compiled and stored as part of the FLAC3D model.

The compiled version of the function is executed whenever its name is mentioned, as explained in Functions: Structure, Evaluation and Calling Scheme. The function name does not need to be assigned a value in the program section that follows.

Any tokens following the function name in parenthesis are interpreted as arguments to the function. These arguments must be given any time the function is to be executed (whether from a FISH statement or from the command line).