terminology: statement separator, statement terminator

Get help with using AutoHotkey and its commands and hotkeys
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

terminology: statement separator, statement terminator

17 Jul 2019, 11:11

The documentation mentions 'statement separator', but not 'statement terminator':
Scripting Language | AutoHotkey
https://www.autohotkey.com/docs/Language.htm
Line breaks are meaningful: Line breaks generally act as a statement separator, terminating the previous command or expression. (A statement is simply the smallest standalone element of the language that expresses some action to be carried out.) The exception to this is line continuation (see below).
Perhaps 'statement terminator' is more correct, and perhaps 'statement separator' is arguably wrong. Perhaps both are correct.

This page distinguishes between the two terms, but then refers to 'statement separator-terminator' in the table, as though they were one concept:
Comparison of programming languages (syntax) - Wikipedia
https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax)#Statements

This page refers to 'multi-statement':
Variables and Expressions - Definition & Usage | AutoHotkey
https://www.autohotkey.com/docs/Variables.htm#comma

So, the best choice of language is a little unclear. Perhaps one could say that statements can be separated in AutoHotkey: via commas (except for control flow statements/commands/directives) and line breaks, unless line continuation is used.

How best to complete these sentences?
In AutoHotkey, the statement separator is ...
In AutoHotkey, the statement terminator is ...
(Perhaps line break for both, with the following side note: comma to separate expressions.)
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “Ask For Help”

Who is online

Users browsing this forum: Bad husband, Bing [Bot], boiler, botman, Google [Bot], malcev, tee_rock and 135 guests