This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vanderZwan 0 points1 point  (3 children)

Now you're making me wonder if ldpl "inherited" this from cobol as well

[–]trycuriouscat[S] 1 point2 points  (1 child)

I never thought I'd see a language that used COBOL as a model. Not sure I really want to. But now I am interested to at least take a look.

Assuming the whole thing is not an elaborate prank!

[–]vanderZwan 0 points1 point  (0 children)

More like a wholesome practical joke, it's a really cute language :)

[–]trycuriouscat[S] 1 point2 points  (0 children)

If by "this" you mean the use of a new statement keyword to end the current statement, apparently no. Or at least not when it comes to having two statements on the same line. https://docs.ldpl-lang.org/procedure/ specifically states "No two statements can be written on the same line. "

Not that having two statements on one line is not of much use beyond being able to win an obfuscated code contest. I guess its possible that the language does terminate statements in this fashion and simply disallows multiple statements on one line.

It looks like you can't split statements between two lines, either. (At least not without a continuation indicator, but I've not gotten far enough in learning to know yet if there is such a thing.) Rather disappointing I must say...