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.