Variables; Local; Make; Namep - AMSTRAD cpc 6128 User Instruction

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

Advertisement

<
Outputs T RUE if the first word is less than the second; otherwise outputs FA LSE.
?< 27 13
FA LS E
?13<27
TRUE
Variables:
local
Makes the input-named variable(s) accessible only to the current procedure and the
procedures it calls.
>(locaL "x
"y
"z)
make
Makes the input-named variable the value of the input object.
*
?make "side Sl?l
?:side
Sl?l
namep
Outputs T RUE if the input word identifies a defined variable.
?make "fLavour "chocoLate
?:flavour
chocoLate
?namep "fLavour
TRUE
?namep "chocoLate
FALS E
Introduction to Logo
Chapter 6 Page 17

Advertisement

Table of Contents
loading

Table of Contents