home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12842 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.5 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!tulane!uflorida!winnie!zach.fit.edu!gene
  2. From: gene@zach.fit.edu (Van Sant/ADVISOR Tamir)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: RE: PROBLEM WITH AMOS
  5. Message-ID: <4183@winnie.fit.edu>
  6. Date: 28 Aug 92 22:57:42 GMT
  7. Sender: usenet@winnie.fit.edu
  8. Organization: Florida Institute of Technology, Melbourne USA
  9. Lines: 35
  10.  
  11.  
  12.  
  13. Newsgroups: comp.sys.amiga.programmer
  14. Expires: 
  15. Sender: WELLSJ@patrick-pims.af.mil 
  16. Followup-To: see subject 
  17. Distribution: comp.sys.amiga.programmer 
  18. Organization: Florida Institute of Technology, Melbourne USA
  19.  
  20. In article <64543@cup.portal.com> Avi@cup.portal.com (Avi - Schwartz) writes:
  21. >>hello. This little Amos programm has a very fatal bug(guru):
  22. >>set buffer 200:dim a(200,200)
  23. >>for i=0 to 200
  24. >>for j=0 to 200
  25. >>a(i,j)=1
  26. >>next
  27. >>next
  28. >>
  29. >>can you help me??
  30. >>
  31. >>
  32. >>-- DLG Pro v0.992
  33.  
  34. Memory allocation error.  You just grabbed 40,000 integer elements
  35. at 4 bytes each, i.e. 120k memory.  I suspect your running on a 1 meg
  36. machine.  If you went gonzo on the text buffer size, (or perhaps even
  37. if you didn't) your still using lots of ram for workbench and the
  38. AMOS environmet itself.  Simple solution, buy a RAM board,(cheap).
  39. Or trim the environmet down, (lose WB, etc.)
  40.  
  41. On the bright side: there is nothing wrong with your code }-)
  42.  
  43. >======================================================================
  44. >Avi Schwartz /  Portal: Avi /  BIX: Avi / Internet: Avi@cup.portal.com
  45. >======================================================================
  46.