basic.!

Logical Operator/BASIC Program, Releases: AP and R83

Logical 'or' operator and remark line indicator.

Syntax

! comment{s} logical.expression ! logical.expression

Description

indicates a remark (comment) statement or an 'or' operator in a logical expression.

Example

if x < 0 ! x > 10 then...

This illustrates the '!' as an 'or' operator.

! mainline ....

This shows the '!' as a remark.

See Also

Command Name Type Description
basic.or Logical Operator
basic.operators Relational Operator Operators * ! & = # - + / ^ < > \ [ ] ( )
basic.if Statement Initiates logical expression.
basic.special.characters Reserved Character Reserved characters and their functions.
basic.logical.expressions Definition application of logical (Boolean) operators to relational or arithmetic expressions.
basic.rem.statement Statement Defines user-specified remark.
basic.*.multiply Operator Arithmetic multiply operator
basic.ifr Statement Initiates a multi-attribute logical expression.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.