@@ -557,6 +557,44 @@ functions supported by FastBasic.
557
557
be used with integers
558
558
and floating point.
559
559
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
+
560
598
- PADDLE(_ n_ ): Returns the value of the
561
599
PADDLE controller _ n_ .
562
600
@@ -579,10 +617,6 @@ functions supported by FastBasic.
579
617
controller _ n_ button is
580
618
pressed, 1 otherwise.
581
619
582
- - RAND(_ num_ ) : Returns a random, non
583
- negative number, less
584
- than _ num_ .
585
-
586
620
- KEY() : Returns 0 if no key was
587
621
pressed, or a keycode. The
588
622
returned value only goes to 0
@@ -593,29 +627,6 @@ functions supported by FastBasic.
593
627
actually the same as_
594
628
` (PEEK(764) EXOR 255) ` .
595
629
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
-
619
630
620
631
Floating Point functions
621
632
------------------------
0 commit comments