[comp.sys.novell] IF..THEN..ELSE syntax, it works!

mcginnis@kuhub.cc.ukans.edu (02/12/91)

Here is a syntax for IF..THEN..ELSE code blocks in login scripts
that actually seems to work!  As many of you know, the Netware 386
version 3.1 documentation gives an erroneous example on page 298
of the Installation manual.

This code works:

IF DAY_OF_WEEK != "Monday" THEN BEGIN
WRITE "THEN block code being executed"
ELSE
WRITE "ELSE block code being executed"
END

I haven't tried it but I have been told that IF..THEN..ELSE blocks
can be nested up to 10 levels deep.