Jump to content

Recommended Posts

Posted

Took me two hours to figure out why it never hit ";stuff2". Ofc, this was over about 20 lines, but still. Kinda funny.

$a = 3
for $k = 1 to 3
if $k > 1 then
;stuff
else
    if $k = $a then
    ;stuff2
    else
    ;stuff3
    end if
end if
  • Moderators
Posted

Took me two hours to figure out why it never hit ";stuff2". Ofc, this was over about 20 lines, but still. Kinda funny.

$a = 3
for $k = 1 to 3
if $k > 1 then
;stuff
else
    if $k = $a then
;stuff2
    else
;stuff3
    end if
end if
What, you post useless topics in the wrong forum?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Guest
This topic is now closed to further replies.
×
×
  • Create New...