Sorting type: Most visited Most visited Alphabetical | Various guides for system functions, commands, etc. Pages in category "System Guides" “ The following is a list of built-in commands, adapted from the help file: The first three... List of Commands “ The following is a list of "preset music", as used in the BGMPLAY command Three of the songs... List of Preset Music “ The following is a list of "key scan codes", adapted from the help file: 2 - 1, 3 - 2, 4 - 3, 5... Key Scan Codes “ Indications are, in SmileBasic V1 is identical to that in V2. returns a single-character... CHR$ (Function) “ The following is a table showing relationships between numerical values and characters, as in... Character Table PTC File Formats “ evaluates to . For any value other than , evaluates to . The code is therefore equivalent to ... ! (Operator) “ % is the BASIC operator for modulo arithmetic. A%B gives the remainder after A has been divided... % (Operator) “ A number may be expressed in binary form in SmileBasic by using the prefix&B. For a numeric... &B (Numerical prefix) “ A number may be expressed in hexadecimal form in SmileBasic by using the prefix&H. For a numeric... &H (Numerical prefix) “ is the BASIC operator for multiplication. As well as working on numbers, the first argument can... * (Operator) “ is the BASIC operator for addition. If the result of adding two numbers has a magnitude greater... + (Operator) “ There is an interesting value you can get in BASIC, which exposes a bug and offers an insight... -0 (Numerical Value) “ is the numerical subtraction operator. There are no surprises, except that subtracting from... - (Operator) “ Apart from -0 (Numerical Value), there is another bug related to how SmileBasic V2 handles... 0.999995 (Numerical Value) “ Indications are, in SmileBasic V1 is identical to that in V2. returns the 'absolute value' of... ABS (Function) Back 1 2 3 4 ... 7 Next Subcategories “ Lists containing various commands, functions, variables, etc. which are essential to Petit Computer. Guide Lists “ This is a list of commands associated with Petit Computer. For a full reference, please visit... Commands “ This is a list of functions associated with Petit Computer. For a full reference, please see... Functions Operators “ These are some important concepts for Petit Computer BASIC (and indeed, programming in general). Programming Concepts “ There are various system variables which contain system information, such as the location being... System Variables Categories: Resources