Please enable JavaScript to view this site.

Increases the variable of the specified units and also returns its new content.

Syntax

real inc (real var [, real value=1])

var

Value to be incremented

value

Increment value (optional, default 1)

result

Returns the new content of var (incremented value: var+value)

Validity

Rule, Task

Note

The result can also be omitted

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC