Global Vars

By FuryCell in AutoIt Technical Discussion,
Is this a bug or a feature? I just want to be sure before i file an issue on the tracker. $Countdown becomes -1. Global $CountDown=5 Global $CountDown=$CountDown-1 MsgBox(0,"",$CountDown) It could make sense that Global would clear $countdown before it assigns it but IMHO this is counterintuitive. Edit:Made the example shorter.
  • 30 replies