Hitachi

JP1 Version 11 JP1/Script Description and Reference (For Windows Systems)


8.8.18 Not operator (logical NOT) (find the logical NOT of an expression)

Purpose

Finds the logical NOT of an expression.

Syntax
Result = Not Expression
Arguments
Result

Specify a variable for storing the result.

Expression

Write any expression that evaluates to true not false.

Description

The Not operator finds the logical NOT of an expression. The Result value is given as follows:

Expression

Result

True

False

False

True

Example
' If the value of variable number1 is 10 or less, invoke
' the executable file "Day10.SPT".
number1 = Day()
If Not 10 < number1 Then
  Exec ("Day10.SPT", True)
End If
JP1/Script version

Supported from JP1/Script 06-00.