Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 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 Changed 16 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

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

We do not need increment/decrement operators.

comment:2 Changed 16 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.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.