[Coco] BASIC syntax in GWBASIC
Neil Morrison
neilsmorr at hotpop.com
Mon Jan 26 15:59:20 EST 2004
It's an effort to improve the accuracy, but it doesn't help on the
Coco (r work on the PC unless P is defined as DOUBLE)
This is QBasic:-
CLS
P# = 3.14159265#
PRINT "P#="; P#
R = 3.14159265#
PRINT "R="; R
P#= 3.14159265
R= 3.141593
Neil
----- Original Message -----
From: "Jones, Orville CPT" <JonesO at k2.cjtf180.army.mil>
> In one of my ham radio programs I am converting from GWBASIC I am
getting a
> syntax error for this line of code:
>
> 1080 P=3.14159265#
>
> I am making this program CoCo compatible. I don't have any docs on
gwbasic.
> What does the "#" do in GWBASIC? I course I could just delete the #
but I am
> assuming that the # somehow makes the value of pi more accurate.
>
> --O. Alan
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>
More information about the Coco
mailing list