CompuServe Thread

Forum unknown · Programming

#AmigaBasic

3 messages in this thread
#31633From: Bill Christens-BarryAug 31, 1986 8:06 PM
I'm having a few difficulties using AmigaBasic. I seem to have problems with the system heap and memory allocation. My only doc is the manual. Can anyone point me towards more detailed info on allocating memory and an explanation of the system heap? One other p roblem I've had involves using AmigaBasic when I've booted from a disk which activates "popcli". Has anyone else had such problems ? A third problem seems to occur when I try to use the "Window Close" command. I keep having a variety of errors accompany use of th is command, some of them fatal. Is there a known bug with this command? All of these problems occur using level 1.1 software. Than ks Bill C-B
#31715From: John FreemanSep 1, 1986 1:36 PM
I've done some "prototyping" of algorithms in AmigaBasic, some fairly long. I've found it to be a good idea to periodically save your work; and (immediately after saving your work) periodically doing a SYSTEM to go back to Intuition. As time goes on, one can see that the available memory has shrunk and shrunk … most of it (though perhaps not all of it!) seems to be deallocated on return so one can then go back to AmigaBasic and reload the program, with a reasonable amount of memory and faster use once again. Failure to do this every so often will eventually crash the system, I assume by AmigaBASIC taking memory it doesn't have. Or is it an OS bug? I don't know. Very annoying whatever it is.
#31715From: John FreemanSep 1, 1986 1:36 PM
I've done some "prototyping" of algorithms in AmigaBasic, some fairly long. I've found it to be a good idea to periodically save your work; and (immediately after saving your work) periodically doing a SYSTEM to go back to Intuition. As time goes on, one can see that the available memory has shrunk and shrunk … most of it (though perhaps not all of it!) seems to be deallocated on return so one can then go back to AmigaBasic and reload the program, with a reasonable amount of memory and faster use once again. Failure to do this every so often will eventually crash the system, I assume by AmigaBASIC taking memory it doesn't have. Or is it an OS bug? I don't know. Very annoying whatever it is.