[Coco] A Basic09 Query

Wayne Campbell asa.rand at gmail.com
Mon Aug 26 18:02:03 EDT 2019


PI isn't really a function. It's more of a defined constant. SQ and SQR
both compute the square root of a number. If I recall correctly, one
operates on REAL numbers, the other on INTEGER numbers, but I may be
misremembering there.

Wayne

On Mon, Aug 26, 2019, 1:41 PM Bill Gunshannon <bill.gunshannon at hotmail.com>
wrote:

>
> Nothing important, just a couple simple questions.
>
> Why would you need a function to return a constant, Pi?
>
> And further, why would you need a function to compute a square?
>
> Is that not unneeded complexity?
>
> bill
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list