January 14th, 2005

draconis: Default icon (Default)
Friday, January 14th, 2005 04:39 pm
Does anyone have information on how to use the two following items in TRS-80 Basic (or similar), circa 1983?

1) EXP(variable name) i.e. LET X = EXP(Y)
2) ! i.e. IF X < 4! THEN PRINT X

I know that the first one is an exponentiation function, but the only thing I can find on using it says, "raise e to the power of Y". Except there is no "e" mentioned!

As for 4!, my brain keeps trying to read that as "4, factorial" but I don't think that's right.

Anyone?
draconis: Default icon (Default)
Friday, January 14th, 2005 04:39 pm
Does anyone have information on how to use the two following items in TRS-80 Basic (or similar), circa 1983?

1) EXP(variable name) i.e. LET X = EXP(Y)
2) ! i.e. IF X < 4! THEN PRINT X

I know that the first one is an exponentiation function, but the only thing I can find on using it says, "raise e to the power of Y". Except there is no "e" mentioned!

As for 4!, my brain keeps trying to read that as "4, factorial" but I don't think that's right.

Anyone?