Meta Project

The Unofficial Meta Documentation

DECREMENT

Summary

DECREMENT Subtracts 1 from the given argument

Category

Categoryname

Usage

DECREMENT value

Arguments

value - Numeric value to be decreased by 1

Refinements

This method has no refinements

Description

DECREMENT Subtract 1 from the given argument

Example Code

Instead of writing

counter: counter - 1

you can write

DECREMENT counter

This is the operator that in C is often seen in the form "i--"

Related

INCREMENT  

Back to the Meta Methods Reference index