Jump to content

why does this not work - (Locked)


bechtudo
 Share

Recommended Posts

; Set the Escape hotkey to terminate the script.
HotKeySet("{ESC}", "_Terminate")

$outer = 0
$hyploop = 0
$rest = 0

While $outer < 4

    $hyploop = 0 ; fix: -------------------> added
    $rest = 0 ; fix: -------------------> added

    ConsoleWrite("outer start: " & $outer & @CRLF)

    While $hyploop < 1 ; 17
        ConsoleWrite("hyploop: " & $hyploop & @CRLF)
        $hyploop = $hyploop + 1
    WEnd

    While $rest < 1 ; 21
        ConsoleWrite("rest: " & $rest & @CRLF)
        $rest = $rest + 1
    WEnd

    ConsoleWrite("outer end: " & $outer & @CRLF)
    $outer = $outer + 1
WEnd

Func _Terminate()
    Exit
EndFunc   ;==>_Terminate

 

Link to comment
Share on other sites

  • Developers

Welcome to the AutoIt forum (again).

Unfortunately you appear to have missed the Forum rules on your way in both in 2015 as now. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...