Modify

Opened 9 years ago

Closed 9 years ago

#1967 closed Feature Request (Rejected)

Infinite loop

Reported by: roi2860@… Owned by:
Milestone: Component: Au3Info
Version: Severity: None
Keywords: Cc:

Description

During infinite loop I suggest acting static (obviously only when is requested). Afterall, it is prolly the goal of the writer.
Lets take a look at this case for example:
While 1

MouseMove(@DesktopWidth - MouseGetPos()[0], @DesktopHeight - MouseGetPos()[1], 0)

WEnd

It is obvious the purpose is to make the mouse move reversed. Yet the mouse, if you run it, will go back and forth from normal to reversed.

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by TicketCleanup

  • Version 3.3.6.1 deleted

Automatic ticket cleanup.

comment:2 Changed 9 years ago by Valik

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

I had to read this ticket twice to make sure I wasn't mistaken. This is one of the dumbest tickets I've ever seen. Let's enumerate!

  1. You set the component to Au3Info when it pertains to AutoIt.
  2. You ask for an infinite loop to not be infinite.
  3. You suggest that AutoIt should determine for the user how to proceed when the situation is ambiguous.
  4. You don't seem to realize that in ambiguous cases or even trivial cases like this that it is up to the programmer, not the language, to determine correct behavior.
  5. You suggest there is obvious behavior to the code snippet you provide but then the next sentence seems to imply you do not consider the expected and executed behavior to be correct and/or obvious.
  6. The code you show is not valid syntax; you cannot access a temporary array using the syntax you demonstrate.

That's a mighty fine list...

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.