Not Operator


Definition: Performs logical negation on an expression.

 

Before you go any further remember, the Scripting Guys don’t make up these operators; we just report back what they do. The NOT operator is designed to test whether an expression is false. If an expression isfalse then the NOT operator reports back True. If an expression is true, then the NOT operator reports back False.

 

Like we said, we don’t make these things up, although, now that we think about it, this one doessound like something the Scripting Guys would come up with, doesn’t it?

 

For example, this command uses the NOT operator to evaluate the following expression 10 * 7.7. = 77:

 

$a = -not (10 * 7.7 - eq77)

 

Because this expression is true, if you run this command and echo back the value of $ a you’ll get the following:

 

False

 

 

 

 

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.