Conditional Expressions
$ IF condition
$ THEN statement(s)
$ IF condition
$ THEN
$ statement(s)
$ ENDIF
$ ENDIF
This may not work in pre-V6 VMS!
Previous slide
Next slide
Back to first slide
View graphic version
Notes:
Here’s an example of some code that might not work in some older versions of OpenVMS.
Notice that the THEN clause includes a DCL statement, instead of being on a line by itself.