## Numeric functions

ABS(`X`)

  Computes absolute value of argument.

COS(`X`)

  Returns cosine of angle given in radians.

CSRLIN

  Return the line the cursor is at.

EXP(`X`)

  Returns exponential of number.

FIX(`X`)

  Returns truncated value.

FRE(0)/FRE(`A$`)

  Returns the amount of memory available for programs or strings.

INT(`X`)

  Converts number to integer.

LOG(`X`)

  Returns natural logarithm of argument.

PEEK(`X`)

  Returns content of specified memory location X.

POS(`d`)

  Returns the horizontal position of the cursor of device `d`.

RND(`X`)

  Generates random number between 0 and 1. If `X` is negative, then seeds the random number generator.

SGN(`X`)

  Returns sign of number as: 1 positive, 0 zero, -1 negative.

SIN(`X`)

  Returns sine of angle given in radians.

SPC(`X`)

  Writes `X` spaces.

SQR(`X`)

  Returns square root of number.

TAB(`X`)

  Moves the cursor to the position given in `X`. If the cursor is already past, then moves to next line first.

TAN(`X`)

  Returns tangent of angle given in radians.

VARPTR(`X`)

  Returns address of pointer to specified variable.