Home Page


BASIC Handbook

Basic2 Commands
Disk Drives
PEEK's and POKE's
RAM Memory Map
ROM Memory Map
Screen Display
Sprite
ASCII and CHR$ Codes

eMail
email5-commodorecheetah.co.uk

Note: You will need to replace the '-' with the @ symbol.
This is to minimize spam.

My BASIC Quick Reference Guide

TAN()
Abbreviation:

TYPE: Floating-Point Function
FORMAT: TAN (<numeric>)

Action: Returns the tangent of the value of the <numeric> expression in radians. If the TAN function overflows, the BASIC error message ?DIVISION BY ZERO is displayed.

EXAMPLE of TAN Function:

10 XX=.785398163: YY=TAN(XX):PRINT YY

1


Commodore Cheetah made by Allen Monks, started in the year 2000.