Talk:DIGITAL Command Language

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

IF-THEN-ELSE[edit]

I'm pretty sure ELSE wasn't available in early versions - I think it first appeared when VMS V4 was released. Mr Larrington (talk) 14:23, 29 September 2009 (UTC)[reply]

You're correct, it wasn't available early on. It was added when THEN and ELSE were added as separate statements, which I thought was around V3.2 or so. My memories of that long ago are pretty fuzzy, though. CWesling (talk) 18:55, 29 September 2009 (UTC)[reply]
V 3.4 did not have multi-line conditionals. All our command files were by necessity spaghetti code since the only construct was
$ ifexpressionthen statement
where statement was all too often goto label. We upgraded from 3.4 directly to 4.5 around 1986. That memorably offered multi-line conditionals, inspiring a command file modernization effort for a few days. —EncMstr (talk) 20:52, 29 September 2009 (UTC)[reply]
On a related note, in my experience (V6 onward), THEN and ELSE were the only statements that required the $ prefix. — Preceding unsigned comment added by 68.98.77.182 (talk) 04:49, 26 November 2013 (UTC)[reply]