Current location - Health Preservation Learning Network - Fitness coach - Fuzzy fitness function
Fuzzy fitness function
Private subcommand 1_click ()

a=0:b=5:c=6

a=b+c

msgbox a

End joint

The result is 1 1, a=b+c is an arithmetic expression, assign the result of b+c to a, and then display a when displaying msgbox.

******************************************************

Private subcommand 1_click ()

a=0:b=5:c=6

msgbox a=b+c

End joint

The result of this is false. a=b+c is a logical expression here, which returns a Boolean value. Returns true if the results of A and b+c are equal, and returns false if they are not.