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)
Change History (2)
comment:1 Changed 17 years ago by Valik
- Resolution set to Rejected
- Status changed from new to closed
comment:2 Changed 17 years ago by TicketCleanup
- Milestone 3.2.11.11 deleted
Automatic ticket cleanup.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
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.