# fish structure command

Syntax

fish structure s ...

Define a new FISH structure. The structure will be named s, and must be a valid FISH name. Tokens following are assumed to be member names of the structure. Please see FISH Scripting Reference, and specifically Structures.

If a structure name matching s has already been defined, and the members names do not match exactly the previous definition, then an error will occur.

Structure definitions are part of the model state. This means the are saved and restored with the model, and are removed with a model new.