Defstr; Deg - AMSTRAD cpc 6128 User Instruction

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

Advertisement

DEFSTR
D E F S T R <list of: <letter range>
H?J DEFSTR
n
20 name="Amstrad"
30
PRINT name
run
Amstrad
COMMAND: Sets the DE Fault for a variable to type STRing. When a variable is
encountered without an explicit type marker
(!
%
$), the default type is assumed.
This command sets the default for variables with the specified first letter(s) to type
STRing. There may be a list of first letters such as:
DEFSTR a,b,c
.... or there may be an inclusive range of first letters such as:
DEFSTR a-z
Associated keywords: D EFl N T, D E F REA L
DEG
DEG
DEG
COMMAND: Sets DEGrees mode of calculation. The default condition for the
functions SIN, COS, TAN, and AT N is radians. DE G resets BASIC to degrees until
instructed otherwise by the commands RA D, and NEW, C LEA R, LOA D, RUN etc.
Associated keywords: AT N, COS, RA D, SIN, TAN
Complete List of Keywords
Chapter 3 Page 15

Advertisement

Table of Contents
loading

Table of Contents