Operators - mathisi-io/t24dev GitHub Wiki
Assignment and Comparison Operators
Assignment Operator and expressions
-
= is used for assigning values to variables: eg
age = 30 -
op= is called assignment operator, where
opis one of+ - * /i.e
+= -= *= /= -
age += 1is equivalent toage = age + 1 -
use these assignment operators when dealing with numbers
Comparison Operators
EQor=NEor<>or!LTor<LEor<=GTor>GEor>=