next up previous contents index
Next: Selecting Element(s) Up: Beam Lines, Sequences, and Previous: Shared Lines   Contents   Index


Sequence Editor

During editing of a sequence, all element positions are evaluated immediately when defined and stored as constant values. To modify a sequence it must be selected for editing by the command

SEQEDIT,SEQUENCE=old-name;
MAD enters editing mode during which it only recognises the sequence editor commands, and makes the sequence old-name the current sequence being edited. Editing mode is switched off by the command

ENDEDIT,NAME=new-name;
If new-name is non-blank, it becomes the name of the edited sequence, otherwise the modified sequence is stored under its old name.


Table 5.1: Commands accepted in editor mode
Command Purpose
SELECT Select elements to be affected
CYCLE Change starting point (cyclic interchange)
FLATTEN Flatten the sequence
INSTALL Install new elements
MOVE Move elements
REFLECT Reflect the sequence
REMOVE Remove elements
REPLACE Replace elements
ENDEDIT Leave sequence edit mode




Subsections
next up previous contents index
Next: Selecting Element(s) Up: Beam Lines, Sequences, and Previous: Shared Lines   Contents   Index
MAD User Guide, http://wwwslap.cern.ch/mad/