richmond62 wrote: ↑Sun Jul 07, 2024 5:39 pm
Why should that be regarded as a bug, and not a useful feature?
I suppose we can invent any convention we want, allowing all possibilities.
But historically, an xTalk command is the first word of a statement clause, and statements outside of inline conditional expressions are separated by carriage returns; inside of conditional expressions they follow the condition definition.
MetaCard expanded on this convention to allow multiple statements on a single line when the statements are separated by a semicolon.
So in the OX/LC multiverse, the basic rule of commands applies fairly consistently, where the separator between them can be either a return or a semicolon, or a conditional expression.
OXTalkers are free to do what they like, but I would invite reflection on the value of "sometimes" rules, breaks from otherwise-consistent conventions that work in some contexts but not others.
In this case the question boils down to:
Is the additional cognitive and documentation encumbrance of yet another "sometimes" rule offset by not having to type one statement-delimiter character?
I would imagine the answer will vary by reader.
Personally I avoid teaching and using "sometimes" options wherever practical, but that's just me.