[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to detect EOFs in SEQ-files using M/C?



Matthew Montchalin wrote:

>    <cross-posted from comp.sys.cbm to comp.sys.apple2 for enlightenment>
> 
> On Sun, 8 Sep 2002, Glenn P., wrote:
> | > Is pi intercepted also?
> |
> |PI isn't a variable. It is a keyword, albeit an unusual one, complete
> |with its own token. I believe it acts as a function with a fixed value.
> 
> Hmmmm.  How is pi represented on the Apple II?  There has to be a story
> in here somewhere.  Are not most basic languages for the Apple II soft-
> loaded?  How do they handle pi?  Surely they don't use a whole token
> just for pi?

Hmm, in Applesoft, I always used pi = 4 * atn(1)

Mike