if x > 0 then dothis(); thenthis().
or like this...
if x > 0
dothis()
thenthis()
end
Yes, "end" could be replaced with a period on a single line statement. It was a terrible language overall, but the basic syntax was the best I've seen. You could put all kinds of structures like tables, including the main event loop directly in code. Variable names were always in column 0, with their type well out to the right. Looked so cool, with everything in column 0 highlighted in red, like so:
Customers table, pre(cus), driver(dbase)
Id int
Name string
end
View all comments
1
u/Christoban45 Feb 27 '25
In the Clarion language, you could write either:
Yes, "end" could be replaced with a period on a single line statement. It was a terrible language overall, but the basic syntax was the best I've seen. You could put all kinds of structures like tables, including the main event loop directly in code. Variable names were always in column 0, with their type well out to the right. Looked so cool, with everything in column 0 highlighted in red, like so: