Skip to content

Commit

Permalink
Reorganize the functions in the manual.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmsc committed Feb 25, 2019
1 parent b718de0 commit 617dbbc
Showing 1 changed file with 38 additions and 27 deletions.
65 changes: 38 additions & 27 deletions manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,44 @@ functions supported by FastBasic.
be used with integers
and floating point.

- RAND(_num_) : Returns a random, non
negative number, less
than _num_.

- FRE() : Returns the free memory
available in bytes.

- ERR() : Returns the last Input/Output
error value, or 1 if no error
was registered.

- LEN(*string*) : Returns the length of
the *string*.

- VAL(*string*) : Convert *string* to a
number. If no
conversion is
possible, ERR() is
set to 18. Can be
used with integers
and floatign point.

- ASC(*string*) : Returns the ATASCI
code of the first
character of the
*string*.


Atari Specific Functions
------------------------

The following functions allows
interacting to the Atari hardware to
read controller and keyboard input and
to program with Player/Missile
graphics.


- PADDLE(_n_): Returns the value of the
PADDLE controller _n_.

Expand All @@ -579,10 +617,6 @@ functions supported by FastBasic.
controller _n_ button is
pressed, 1 otherwise.

- RAND(_num_) : Returns a random, non
negative number, less
than _num_.

- KEY() : Returns 0 if no key was
pressed, or a keycode. The
returned value only goes to 0
Expand All @@ -593,29 +627,6 @@ functions supported by FastBasic.
actually the same as_
`(PEEK(764) EXOR 255)`.

- FRE() : Returns the free memory
available in bytes.

- ERR() : Returns the last Input/Output
error value, or 1 if no error
was registered.

- LEN(*string*) : Returns the length of
the *string*.

- VAL(*string*) : Convert *string* to a
number. If no
conversion is
possible, ERR() is
set to 18. Can be
used with integers
and floatign point.

- ASC(*string*) : Returns the ATASCI
code of the first
character of the
*string*.


Floating Point functions
------------------------
Expand Down

0 comments on commit 617dbbc

Please sign in to comment.