PDA

View Full Version : Meaning of exclamation point in front of variable?



jellis00
- 11th November 2009, 06:45
I have encountered some PBPro code that has an exclamation point in front of some of the declared variables. I find no definition of that syntax in the PBPro manual. For example: IF !Plugged THEN

Can anyone tell me what the exclamation point means?? I see it used on the variable in the code contained in an INCLUDE file and not used in the main code for the same variable name.

Darrel Taylor
- 11th November 2009, 07:49
IF NOT Plugged THEN

It's listed under "Logical Operators".
Page 43 in the latest manual.
<br>

jellis00
- 11th November 2009, 16:02
IF NOT Plugged THEN

It's listed under "Logical Operators".
Page 43 in the latest manual.
<br>

Thanks, Darrel. I feel stupid to not have found that. I looked right over it. I now understand the logic of your code better.