Fandom

Petit Computer Wiki

List of Operators

914pages on
this wiki
Add New Page
Comment1 Share

The following is a list of built-in operators, adapted from the help file, and grouped by precedence:




  • *
  • /
  • % (called MOD in V3)
  • DIV (only in V3)


  • << (only in V3)
  • >> (only in V3)



  • && (only in V3)
  • || (only in V3)

Within a precedence group, binary operators are left-associative, so, for example 50/5%3 is evaluated as (50/5)%3 = 10%3 = 1.

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.