home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.amiga.programmer:19168 comp.sys.amiga.misc:20444
- Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.misc
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!swrinde!ringer!rcarpent
- From: rcarpent@ringer.cs.utsa.edu (Richard Carpenter)
- Subject: Re: Strange wierdness in E-language!
- Message-ID: <1993Jan25.173841.18100@ringer.cs.utsa.edu>
- Organization: University of Texas at San Antonio
- References: <1993Jan25.160550.9255@abo.fi>
- Date: Mon, 25 Jan 1993 17:38:41 GMT
- Lines: 25
-
- In article <1993Jan25.160550.9255@abo.fi> MSAASTAMOINE@FINABO.ABO.FI (Mika Saastamoinen Tkkk) writes:
- >
- About errors if then statements...
- >
- >IF ((sx>LFEDGE AND sx<RGEDGE) AND (sy>TOEDGE AND sy<BOEDGE)) THEN Plot(sx,sy,2)
- >
- >Any ideas, anyone?
- >
-
- I have an idea. I recall from the Doc file that E has no precedence so it
- is possible that the comparisons look something like this :
-
- ((sx>LFEDGE) AND sx) < RGEDGE) etc...
-
- So, with a few paranthesis you might be able to correct the problem.
-
- For the record, I don't use E, I was just curious so I spent a few hours one
- evening reading the docs and checking out the example programs.
-
-
- --
- -------------------------------------------------------------------
- Richard Carpenter
- ringer.cs.utsa.edu
- -------------------------------------------------------------------
-