Xref: utzoo bit.listserv.novell:8557 comp.sys.novell:373 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!sdd.hp.com!spool2.mu.edu!uunet!maverick.ksu.ksu.edu!kuhub.cc.ukans.edu!mcginnis From: mcginnis@kuhub.cc.ukans.edu Newsgroups: bit.listserv.novell,comp.sys.novell Subject: Can't get IF..THEN..ELSE to work in login script Message-ID: <28114.279d8fb3@kuhub.cc.ukans.edu> Date: 23 Jan 91 19:29:23 GMT Organization: University of Kansas Academic Computing Services Lines: 23 We have not had any luck with getting IF ... THEN ... ELSE statements to execute without error in login scripts. We have tried upper and lower case for the commands. The IF statements work fine. The else statments always return an error. Any line with an else statment fails to parse We have been trying the example on page 298, appendix A of Novell 386 Installation manual. Here are some examples of what we have tried: IF DAY_OF_WEEK="Wednesday" THEN WRITE "Wed" ELSE WRITE "Else statement" IF DAY_OF_WEEK="Wednesday" THEN WRITE "Wed" ELSE WRITE "ELSE STATMENT" IF DAY_OF_WEEK="Wednesday" THEN WRITE "Wed" ELSE WRITE "ELSE STATMENT" plus other combinations. What are we doing wrong?