Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#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 by Valik, 18 years ago

Resolution: Rejected
Status: newclosed

The following shorthand is possible:
$var += $expression
$var -= $expression
$var *= $expression
$var /= $expression
$var &= $expression

We do not need increment/decrement operators.

comment:2 by TicketCleanup, 18 years ago

Milestone: 3.2.11.11

Automatic ticket cleanup.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.