plusBASIC Programmer's Reference Guide - fvdhoef/aquarius-plus GitHub Wiki

plusBASIC Programmer's Reference Guide

plusBASIC Programming Concepts

plusBASIC Operators

plusBASIC Statements and Functions

Note: This is a work in progress. Please mind the dust while we flesh out these reference materials. Old Table of Contents

Math Functions

  • ABS() and SGN() - Return absolute value and signum of argument.
  • INT() - Return expression rounded down to nearest integer.
  • RND() - Return new or previous psuedo-random number or seeds the random number generator.
  • SIN(), COS(), TAN(), ATN() - Return sine, cosine, tangent, and arctangent of argument.
  • SQR(), LOG(), and EXP() - Return square root, natural logarithm, and argument to the power of e.

String Statements and Functions

Conversion Functions

  • ASC() and CHR$() - Convert string to and from numeric ASCII code.
  • BYTE() - Convert character in string to signed byte.
  • HEX$(), ASC$() and DEC() - Convert byte, integer or ASCII string to and from hexadecimal string,
  • LWR(), LWR$(), UPR(), and UPR$() - Convert string or ASCII code to lowercase or uppercase.
  • STR$() and VAL() - Convert number to and from ASCII string.
  • WORD(), WORD$(), and INT() - Convert unsigned or unsigned integer to and from two character decimal string.

Variable, Array, and Memory Statements and Functions

  • CLEAR - Clear BASIC workspace or array data.
  • COMPARE - Compare numeric arrays or sections of memory.
  • COPY - Copy bytes from one block of memory to another.
  • LEN() - Return length of string or array.

Keyboard Statements and Functions

Filesystem Statements and Functions

  • CD and CD$ - Change, display, or return current filesystem path.
  • DEL - Delete file or directory.
  • DIR - Display directory contents.
  • MKDIR - Create new directory.

File I/O Statements and Functions

Palette Statements and Functions

Text Screen Statements and Functions

Bitmap Graphics Statements and Functions

Sprite and Tilemap Statements and Functions

System Statements and Functions

⚠️ **GitHub.com Fallback** ⚠️