home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!gatech!cc.gatech.edu!terminus!byrne
- From: byrne@terminus.gatech.edu (Michael Byrne)
- Subject: Re: Message-passing question
- Message-ID: <1992Sep13.231112.21561@cc.gatech.edu>
- Sender: news@cc.gatech.edu
- Organization: College of Computing
- References: <gefDdzC00VokMNhUpJ@andrew.cmu.edu> <1992Sep9.213735.12782@leland.Stanford.EDU> <1992Sep11.233513.15823@gtephx.UUCP>
- Date: Sun, 13 Sep 1992 23:11:12 GMT
- Lines: 40
-
- In article <1992Sep11.233513.15823@gtephx.UUCP> patfieldk@gtephx.UUCP (Kevin M. Patfield) writes:
- >on foo
- > ...
- > ...
- > ...
- > return "bar"
- >end foo
- >
- >
- >on test
- > foo
- > get the result
- > if it is "bar"
- > then ...
- > else ...
- >end test
- >--
-
- or, even faster:
-
- on test
- foo
- if the result is "bar" then
- ...
- else
- ...
- end if
- end test
-
- (My personal crusade is against the local variable "it".)
-
-
-
- ============================================================
- Mike Byrne byrne@cc.gatech.edu
- Grad student in Psychology/Cognitive Science
- 25947 GA Tech Station, Atlanta, GA 30332
-
- ----->>>> "Only the mediocre are always at their best."
-
-