Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pasteur!agate!violet.berkeley.edu!edmoy From: edmoy@violet.berkeley.edu Newsgroups: comp.sys.mac.hypercard Subject: YAHCB (Yet Another HyperCard Bug) Message-ID: <7141@agate.BERKELEY.EDU> Date: 24 Feb 88 00:02:21 GMT Sender: usenet@agate.BERKELEY.EDU Reply-To: edmoy@violet.berkeley.edu () Organization: University of California, Berkeley Lines: 27 This one is amazing in its strangeness. This has to do with the automatic indentations in scripts. Try: if offset("abc",it) <> 1 then The lines following will indent as expected. Fine. This works, too: if offset(" abc",it) <> 1 then (Note the space before the "abc".) And this works: if offset("a bc",it) <> 1 then (Note the space inside of "abc".) But this doesn't: if offset("abc ",it) <> 1 then All the lines to the end of the script are indented only to the level of this "if" statement. Edward Moy Workstation Software Support Group University of California Berkeley, CA 94720 edmoy@violet.Berkeley.EDU ucbvax!violet!edmoy