Category:Palo Alto Tiny BASIC

From Rosetta Code
Revision as of 01:59, 2 April 2023 by Christophoro S (talk | contribs) (Added some features and link to a manual.)
Language
Palo Alto Tiny BASIC
This programming language may be used to instruct a computer to perform a task.
Lang tag(s): tinybasic
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using Palo Alto Tiny BASIC.
Palo Alto Tiny BASIC is an implementation of BASIC. Other implementations of BASIC.

Palo Alto Tiny BASIC is one of the most popular of the many versions of Tiny BASIC. It was developed in 1975 by Li-Chen Wang.

Features

Palo Alto Tiny BASIC has some features that distinguish it from other Tiny BASICs:

  • The FOR...NEXT loop. Like in Microsoft BASIC, the upper and lower bounds of the loop are set on loop entry, and did not change during the loop, so if one of the bounds is based on a variable expression, changing the variable do not change the bound. The STEP modifier is optional.
  • The ability to place several statements on a single line. Palo Alto Tiny BASIC uses the semicolon ; to separate statements, rather than the colon : common in BASICs.
  • A single numeric one-dimensional array, with the variable name @.
  • The statement STOP in addition to END.
  • The use of # for not-equals in comparisons, as opposed to <>.
  • The ability to set more than one variable in a single LET command:
    LET A=1,B=0,A=A+2
    
  • Lack of THEN in an IF command.

Implementations

Palo Alto Tiny BASIC was adapted for many implementations:

External links