home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19168 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.3 KB

  1. Xref: sparky comp.sys.amiga.programmer:19168 comp.sys.amiga.misc:20444
  2. Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.misc
  3. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!swrinde!ringer!rcarpent
  4. From: rcarpent@ringer.cs.utsa.edu (Richard Carpenter)
  5. Subject: Re: Strange wierdness in E-language!
  6. Message-ID: <1993Jan25.173841.18100@ringer.cs.utsa.edu>
  7. Organization: University of Texas at San Antonio
  8. References: <1993Jan25.160550.9255@abo.fi>
  9. Date: Mon, 25 Jan 1993 17:38:41 GMT
  10. Lines: 25
  11.  
  12. In article <1993Jan25.160550.9255@abo.fi> MSAASTAMOINE@FINABO.ABO.FI (Mika Saastamoinen Tkkk) writes:
  13. >
  14. About errors if then statements...
  15. >
  16. >IF ((sx>LFEDGE AND sx<RGEDGE) AND (sy>TOEDGE AND sy<BOEDGE)) THEN Plot(sx,sy,2)
  17. >
  18. >Any ideas, anyone?
  19. >
  20.  
  21. I have an idea. I recall from the Doc file that E has no precedence so it
  22. is possible that the comparisons look something like this :
  23.  
  24. ((sx>LFEDGE) AND sx) < RGEDGE) etc...
  25.  
  26. So, with a few paranthesis you might be able to correct the problem.
  27.  
  28. For the record, I don't use E, I was just curious so I spent a few hours one
  29. evening reading the docs and checking out the example programs.
  30.  
  31.  
  32. -- 
  33. -------------------------------------------------------------------
  34.             Richard Carpenter
  35.             ringer.cs.utsa.edu
  36. -------------------------------------------------------------------
  37.