Table of Contents

ugBASIC User Manual

INC ✓

SYNTAX

   INC var

PURPOSE

The INC command allows you to increase a variable by one. This is much more efficient than using the standard syntax v = v + 1.

EXAMPLE

  INC score

See also the following example files:

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY