Logical Operations; Rot; =; > - AMSTRAD cpc 6128 User Instruction

Integrated computer/disc system
Hide thumbs Also See for cpc 6128:
Table of Contents

Advertisement

Logical Operations:
and
Outputs T RUE if the result of all input expressions are true.
Rot
?and <3(4)
(7)4)
TRUE
Outputs T RUE ifthe input expression is false.
Outputs FA LS E if the input expression is true.
or
?not <3=4)
TRUE
?not <3=3)
FA LS E
Outputs FA LSE if all input expressions are false.
=
?or "TRUE "FALSE
TRUE
?or <3=4)
(1=2)
FALSE
Outputs T RUE if the two input objects are equal; otherwise outputs FA LSE.
>
? = "LOGO "LOGO
TRUE
?1=2
FALSE
Outputs T RUE if the first input word is greater than the second; otherwise outputs
FA LS E.
?> 19 20
FALSE
?20>19
TRUE
Chapter 6 Page 16
Introduction to Logo

Advertisement

Table of Contents
loading

Table of Contents

Save PDF