Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

What does this "-=" mean?? {SOLVED}


  • Please log in to reply
4 replies to this topic

#1 Command3r

Command3r

    Wayfarer

  • Active Members
  • Pip
  • 91 posts

Posted 16 March 2012 - 11:15 PM

Hello, i was searching for "count down timer" and i found an script for that.

snippet from script

$_CompteArebour -= TimerDiff($TimeTicks) $TimeTicks = TimerInit()

but i dont understand the script, so i started to study it oops.gif then i found this symbol " -= " and i dont know what does it mean/do.

as i know:
" <> " not equal
"0 <= 1 " 0 greater than 1 or equal it
"0 => 1 " 1 greater than 0 or equal it
"0 = 1 " the strings are equal doh.gif
but this " -= " i haven't seen it before bye.gif

thanks.

Edit:
SOLVED>>

Source = http://www.autoitscript.com/wiki/Tutorial_Core_Language#Operators


Edited by Jon, 27 May 2013 - 11:59 AM.

Advice for you: Search before posting.

 

 *********** Problem solved? if yes  *********

******* press "Mark Solved" button. *******








#2 kor

kor

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 543 posts

Posted 16 March 2012 - 11:19 PM

Subtraction assignment. e.g. $var -= 1 is equivalent to $var = $var -1


Source = http://www.autoitscript.com/wiki/Tutorial_Core_Language#Operators

Edited by kor, 16 March 2012 - 11:20 PM.

  • Command3r likes this

#3 Command3r

Command3r

    Wayfarer

  • Active Members
  • Pip
  • 91 posts

Posted 16 March 2012 - 11:29 PM

o_O Thanks bro :oops:

Advice for you: Search before posting.

 

 *********** Problem solved? if yes  *********

******* press "Mark Solved" button. *******


#4 JLogan3o13

JLogan3o13

    115 and holding

  • MVPs
  • 3,506 posts

Posted 17 March 2012 - 02:36 AM

It seems, Command3r, you didn't follow your own advice from your signature :oops:

Edited by JLogan3o13, 17 March 2012 - 02:36 AM.

Programming is like sex...one mistake and you have to support it for a lifetime.

My Scripts:Include Source with Compiled Script, Disk Maintenance for Windows XP, "Deal-A-Day" Sites, Windows Firewall UDF


#5 Command3r

Command3r

    Wayfarer

  • Active Members
  • Pip
  • 91 posts

Posted 17 March 2012 - 02:59 PM

It seems, Command3r, you didn't follow your own advice from your signature :oops:


no no, i searched but i haven't got any useful results :bye:

Advice for you: Search before posting.

 

 *********** Problem solved? if yes  *********

******* press "Mark Solved" button. *******





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users