Modify ↓
#225 closed Feature Request (Rejected)
Varible++
| Reported by: | Firestorm | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | var autoit varible c++ c | Cc: |
Description
I was wondering if we could get a new function for something like C++, where to increase a varible by one you just do $var++ or for minus one, $var--.
I am beginning to get tired of doing $var = $var + 1, can we PLEASE get the implementation of ++ and --?
Attachments (0)
Note:
See TracTickets
for help on using tickets.

The following shorthand is possible:
$var += $expression
$var -= $expression
$var *= $expression
$var /= $expression
$var &= $expression
We do not need increment/decrement operators.