home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!tulane!uflorida!winnie!zach.fit.edu!gene
- From: gene@zach.fit.edu (Van Sant/ADVISOR Tamir)
- Newsgroups: comp.sys.amiga.programmer
- Subject: RE: PROBLEM WITH AMOS
- Message-ID: <4183@winnie.fit.edu>
- Date: 28 Aug 92 22:57:42 GMT
- Sender: usenet@winnie.fit.edu
- Organization: Florida Institute of Technology, Melbourne USA
- Lines: 35
-
-
-
- Newsgroups: comp.sys.amiga.programmer
- Expires:
- Sender: WELLSJ@patrick-pims.af.mil
- Followup-To: see subject
- Distribution: comp.sys.amiga.programmer
- Organization: Florida Institute of Technology, Melbourne USA
-
- In article <64543@cup.portal.com> Avi@cup.portal.com (Avi - Schwartz) writes:
- >>hello. This little Amos programm has a very fatal bug(guru):
- >>set buffer 200:dim a(200,200)
- >>for i=0 to 200
- >>for j=0 to 200
- >>a(i,j)=1
- >>next
- >>next
- >>
- >>can you help me??
- >>
- >>
- >>-- DLG Pro v0.992
-
- Memory allocation error. You just grabbed 40,000 integer elements
- at 4 bytes each, i.e. 120k memory. I suspect your running on a 1 meg
- machine. If you went gonzo on the text buffer size, (or perhaps even
- if you didn't) your still using lots of ram for workbench and the
- AMOS environmet itself. Simple solution, buy a RAM board,(cheap).
- Or trim the environmet down, (lose WB, etc.)
-
- On the bright side: there is nothing wrong with your code }-)
-
- >======================================================================
- >Avi Schwartz / Portal: Avi / BIX: Avi / Internet: Avi@cup.portal.com
- >======================================================================
-