A <stream expression>, refers to a <numeric expression> which identifies the screen, printer or
cassette where the text is required to ‘stream’.
An ‘improper argument’ means that a <numeric expression>, has returned a value that is outside the
range defined as permissable in that situation or that a command parameter is invalid in some
way.and that BASIC has not. accepted this as valid input.
KEYWORDS
Please note that AMSTRAD BASIC keywords are listed here using the form:
KEYWORD
Syntax/Function
Example
Description
Associated KEYWORDS
IMPORTANT:
Keywords are either
COMMANDS
:
operations that are executed directly.
FUNCTIONS
:
operations that are invoked as arguments in an expression
Brackets
( )
are required as part of the command or function. Other types of brackets used in the KEYWORD
description are for the purposes of the description, and should not be typed as part of the line:
[] enclose optional items.
<> enclose various expressions which are described in the subsequent description.
Quotes
Only
” ”
form part of the actual BASIC program structure. ‘’ are used to emphasise or highlight
certain aspects of the description.’’ should not appear in any part of the syntax/Function or Example
entries other than within <string expression>s.
Entering
BASIC converts all keywords entered in
l o w e r c a s e
letters into
U P P E R C A S E
when a program
is
LIST
ed. The examples shown here use UPPER CASE, since this is how the program will appear
when
LIST
ed - if you enter using
l o w e r c a s e
, you will be able to spot typing errors more readily
since the mistyped keyword will still be displayed in
l o w e r c a s e
when
LIST
ed.
Keywords are delimited by separators, since AMSTRAD BASIC allows you to ‘bury’ keywords into
variable names: eg
end2
and
LI STCODE
are acceptable as variables in AMSTRAD BASIC.
Содержание CPC464
Страница 1: ......
Страница 32: ...or you can type 3e1 1e1 ENTER 300 2 3000x1000 Type 3e3 1e3 ENTER 3000000 3 3000x0 001 Type 3e3 1e 3 ENTER 3 ...
Страница 102: ...PRINT 10 AND 12 Results in 8 PRINT 10 AND 1000 Results in 8 again ...
Страница 118: ...TO DO DRAW THIS PAGE ...
Страница 219: ...actual value may be made to vary during the execution of a program ...
Страница 240: ...Text and WINDOW planner Mode 2 80 Columns ...
Страница 241: ......
Страница 245: ...Sound envelope Music planner sheet ...