Result = Expression1 Or Expression2
Expression1 | Expression2 | Result |
---|---|---|
True | True | True |
True | False | True |
False | True | True |
False | False | False |
文字列 | True | True |
文字列 | False | True |
文字列 | 文字列 | True |
Empty値 | True | True |
Empty値 | False | False |
Empty値 | Empty値 | False |
' 変数number1の値が7以下,または20以上のとき,実行ファイル
' "Backup.BAT"を呼び出す。
number1 = Hour ( )
If number1 <= 7 Or 20 <= number1 Then
Exec ( "Backup.BAT", True )
End If