49
edits
(→Syntax) |
(→Syntax) |
||
| Line 16: | Line 16: | ||
This very basic syntax structure however lends well to being flexible and extensible, and thus sometimes confusing. A complex base Engine script can interact with many different environments and contexts. | This very basic syntax structure however lends well to being flexible and extensible, and thus sometimes confusing. A complex base Engine script can interact with many different environments and contexts. | ||
=== | === Script statement syntax === | ||
# 'Statements' are text blocks that begin with a command name, and are followed by any other text, and end with line-end or semi-colon. A new statement can begin adjacent to the previous statements ending delimiter. | # 'Statements' are text blocks that begin with a command name, and are followed by any other text, and end with line-end or semi-colon. A new statement can begin adjacent to the previous statements ending delimiter. | ||
# Command names begin or end at white-space, semi-colon, or line-end, and end at comment start. | # Command names begin or end at white-space, semi-colon, or line-end, and end at comment start. | ||