From 617dbbc34332be272a03b1e70a6f90e3e4bb121b Mon Sep 17 00:00:00 2001 From: Daniel Serpell Date: Sun, 24 Feb 2019 21:29:49 -0300 Subject: [PATCH] Reorganize the functions in the manual. --- manual.md | 65 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 27 deletions(-) diff --git a/manual.md b/manual.md index 821c6f2..cbd9ba5 100644 --- a/manual.md +++ b/manual.md @@ -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_. @@ -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 @@ -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 ------------------------