Each command instructs SWASH to carry out a certain action which SWASH executes before it reads the next command. A command must always start with a keyword (which is also the name of the command) which indicates the primary function of that command; see list in Section 4.1). A simple command may appear in its command scheme as:
KEYword dataA command may contain more than one keyword (which refines the instructions to SWASH), e.g.,
KEY1word KEY2word datawhere KEY2word is the second keyword.