rojas@ernie.Berkeley.EDU (Joseph Maurice Rojas) (04/13/90)
Joseph Maurice Rojas (415) 643-2608 rojas@ernie.berkeley.edu April 12, 1990 Dear colleagues, Thank you SO much for all your help. You saved me a lot of time and trouble with your prompt replies and I am now happily running my puzzle solving program. To recap, my question was: What command (or sequence of commands) is needed to allocate more memory in Amigabasic 1.3? The answers were generally of the following form: CLEAR ,# of bytes you want for basic,# of bytes you want for the stack I don't know what the first argument in the CLEAR command is for, and I won't hazard a guess either. As a final note, I should point out that the CLEAR command seems to operate cumulatively. i.e., if you CLEAR out 200K for basic and then CLEAR out 200K again, you'll have 400K for basic. I'm not a hacker, but this is my best guess as to what happened when I ran my program 4 times and got an out of memory error on the 5th run. Anyways, a quick fix for this is to use CLEAR (with NO arguments) at the beginning of your program. This seems to reset everything back to normal and wipe out the cumulative effect. Thanks again for all your help. I can sleep much easier now. Sincerely, Maurice