Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-unix!sri-spam!ames!oliveb!amdahl!cerebus!fai!dalea From: dalea@fai.UUCP Newsgroups: comp.sys.apple Subject: Re: FRE Message-ID: <610@fai.UUCP> Date: Wed, 13-May-87 19:30:32 EDT Article-I.D.: fai.610 Posted: Wed May 13 19:30:32 1987 Date-Received: Sat, 16-May-87 09:27:26 EDT References: <8705111018.aa01214@SPARK.BRL.ARPA> Reply-To: dalea@fai.UUCP (Dale M. Arends) Distribution: world Organization: Fujitsu America, Inc. Lines: 22 Keywords: garbage collection In article <8705111018.aa01214@SPARK.BRL.ARPA> jshaver@APG-5.ARPA (John Science Fiction & Resume Service Shaver) writes: >I belive that FRE(0) will force garbage collection on both DOS 3 and >PRODOS. I say that because it takes so long to get back from the function >call and return to processing. Unless it was changed by Apple, the BASIC.SYSTEM interpreter has it's own version of FRE that is extremely fast. To call it, instead of FRE(0) issue the following ProDOS call: xx PRINT D$;"FRE" : REM Where xx is the line # and D$ is a CONTROL-D This can be called as often as desired but should be often enough that the Applesoft FRE(0) routine be avoided. -- -- Dale M. Arends (Fujitsu America Inc., San Jose, Calif.) seismo!amdahl!fai!dalea The opinions expressed herein do not necessarily reflect those of my employer. They are entirely my own if they make sense and I disavow them if they don't.