Please enable JavaScript to view this site.

Decreases a variable by the specified unit and also returns its new content.

Syntax

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

var

Variable to be decremented

value

Decrement value. (optional, default 1)

result

Returns the new content of var (result of subtraction)

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