Fandom

Petit Computer Wiki

Variables

915pages on
this wiki
Add New Page
Comments11 Share

Petit Computer BASIC has two types of variables, numeric and string. String variables are identified by having a $ symbol on the end, numeric variables do not have it.

An identifier may be up to 16 characters long (not including $), and may consist of letters, digits, and underscores (but must not begin with a digit). Identifiers are case-insensitive. Arrays may have the same name as non-array variables, and they are considered seperate; e.g. A(4)=10 will have no effect on the variable A.

For more information on value types, see the page Data types.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.