The Statement
- Last UpdatedJan 31, 2023
- 1 minute read
As mentioned above a scheme consists of statements ending in a semicolon. A semicolon can actually never be added or removed as a character directly. Instead statements can be added or removed using editor menu functions.
A new statement can be added. In such a case only the semicolon appears and the user is supposed to enter the rest of the statement text. A statement can also be pasted into the scheme via a special paste function, for subsequent modification.
When deleting a statement, two situations exist. In the first one the statement has never been run, and when deleting the statement text will simply disappear from the scheme. In the second case where the statement is already run at least once, resulting in components being added to the panel. Then the statement keyword is changed to DEL and the statement is run, deleting the components from the panel. The statement text however remains in the editor, with the statement keyword changed.