Skip to content

Commit 617dbbc

Browse files
committed
Reorganize the functions in the manual.
1 parent b718de0 commit 617dbbc

File tree

1 file changed

+38
-27
lines changed

1 file changed

+38
-27
lines changed

manual.md

+38-27
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,44 @@ functions supported by FastBasic.
557557
be used with integers
558558
and floating point.
559559

560+
- RAND(_num_) : Returns a random, non
561+
negative number, less
562+
than _num_.
563+
564+
- FRE() : Returns the free memory
565+
available in bytes.
566+
567+
- ERR() : Returns the last Input/Output
568+
error value, or 1 if no error
569+
was registered.
570+
571+
- LEN(*string*) : Returns the length of
572+
the *string*.
573+
574+
- VAL(*string*) : Convert *string* to a
575+
number. If no
576+
conversion is
577+
possible, ERR() is
578+
set to 18. Can be
579+
used with integers
580+
and floatign point.
581+
582+
- ASC(*string*) : Returns the ATASCI
583+
code of the first
584+
character of the
585+
*string*.
586+
587+
588+
Atari Specific Functions
589+
------------------------
590+
591+
The following functions allows
592+
interacting to the Atari hardware to
593+
read controller and keyboard input and
594+
to program with Player/Missile
595+
graphics.
596+
597+
560598
- PADDLE(_n_): Returns the value of the
561599
PADDLE controller _n_.
562600

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

582-
- RAND(_num_) : Returns a random, non
583-
negative number, less
584-
than _num_.
585-
586620
- KEY() : Returns 0 if no key was
587621
pressed, or a keycode. The
588622
returned value only goes to 0
@@ -593,29 +627,6 @@ functions supported by FastBasic.
593627
actually the same as_
594628
`(PEEK(764) EXOR 255)`.
595629

596-
- FRE() : Returns the free memory
597-
available in bytes.
598-
599-
- ERR() : Returns the last Input/Output
600-
error value, or 1 if no error
601-
was registered.
602-
603-
- LEN(*string*) : Returns the length of
604-
the *string*.
605-
606-
- VAL(*string*) : Convert *string* to a
607-
number. If no
608-
conversion is
609-
possible, ERR() is
610-
set to 18. Can be
611-
used with integers
612-
and floatign point.
613-
614-
- ASC(*string*) : Returns the ATASCI
615-
code of the first
616-
character of the
617-
*string*.
618-
619630

620631
Floating Point functions
621632
------------------------

0 commit comments

Comments
 (0)