Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!gatech!mcnc!ecsvax!ehr From: ehr@ecsvax.UUCP (Ernest H. Robl) Newsgroups: comp.sys.tandy Subject: Re: Another TRS-80 Model 1 Level2 > CoCo problem 4U2 Fix! Message-ID: <4666@ecsvax.UUCP> Date: 25 Feb 88 02:31:44 GMT References: <1699@ssc-vax.UUCP> Organization: UNC Educational Computing Service Lines: 33 Keywords: pound signs, variable definitions, what the? Summary: #=double precision variable In article <1699@ssc-vax.UUCP>, ray3rd@ssc-vax.UUCP (Ray E Saddler III) writes: > Hello again, it's me, the guy trying to convert old BASIC to CoCo > basic. > .... [lines deleted] > Anyhow, I've run across some lines that look like this; > 150 B#=C*5 > 155 IF B# < 0 THEN GOTO 800 > 155 D#=B#/2 > Alright, just what the heck do the pound signs do? And what is the > equivalent in CoCo basic? > Anxiously awaiting a reply.....;^} > Ray E. Saddler III | Path: ..!ssc-vax!ray3rd | __ __ __ __ > Boeing Aerospace Company | From: ray3rd@ssc-vax.UUCP | / / / // //| // > P.O. Box 3999 m.s. 3R-05 |------------------------------| /-< / //- // |// _ > Seattle, Wa. 98124 USA | VoiceNet: (206) 657-2824 | /__//_//__ // //__/ According to my Model III Basic manual, the # sign indicates that you are dealing with double precision variable. I assume the same is true for a Model I. The manual says "Double-precision numbers can include up to 17 significant digits.... A double precision value requires 8 bytes of memory for storage. Arithmetic operations involving at least one double- precision number are slower than the same opeations when all operands are single-precision or integer." Hope this helps. -- Ernest -- My opinions are my own and probably not IBM-compatible.--ehr Ernest H. Robl (ehr@ecsvax) (919) 684-6269 w; (919) 286-3845 h Systems Specialist (Tandem System Manager), Library Systems, 027 Perkins Library, Duke University, Durham, NC 27706 U.S.A.