Arithmetic Operations; Wordp; Arctan; Quotient - AMSTRAD cpc 6128 User Instruction

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

Advertisement

wordp
Outputs T RUE if the input object is a word or a number.
?wordp "hello
TRUE
?wordp []
FA LS E
Arithmetic Operations:
*
arctan
Outputs the arc-tangent (in degrees) of the input number.
cos
?arctan 0
o
?arctan 1
45
Outputs the cosine of the input number of degrees.
?cos 60
0.5
int
Outputs the integer portion of the input number.
?int 4/3
1
*
quotient
Outputs the integer division of the two input numbers.
?quotient 14 4
3
?14/4
3.5
Introduction to Logo
Chapter 6 Page 13

Advertisement

Table of Contents
loading

Table of Contents