Asc; Atn; Auto - AMSTRAD cpc 6128 User Instruction

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

Advertisement

ASC
AS C ( <string expression»
PRINT ASC(lx")
120
FUNCTION: Returns the numeric value of the first character in the <string
expression> .
Associated keywords: CH R $
ATN
AT N ( <numeric expression> )
PRINT ATN(1)
0.785398163
FUNCTION: Calculates the A rc- TaN gent of the <numeric expression>.
Note that D E G and RA D can be used to force the result of the above calculation to
degrees or radians respectively.
Associated keywords: COS, D E G, RA D, SIN, TAN
AUTO
AUT 0 [<line number>][, <increment>]
AUTO 100,50
COMMAND: Generates line numbers AUT Omatically. The optional <line number>
parameter sets the first line to be generated in case you wish to generate lines from a
particular point in the program. If the parameter is omitted, line numbers will be
generated from line 1121 onwards.
The optional <increment> sets the number of lines to leave before generating the
following line number. If the parameter is omitted, the line numbers will increase by
1121 each time.
If a line number is generated which is already in use, then the contents of the line will
be displayed on the screen and may be edited if required. The displayed' line will be
replaced in the memory when [RETURN] is pressed.
To stop automatic line numbering, press
[ESC].
Associated keywords:
none
Complete List of Keywords
Chapter 3 Page 5

Advertisement

Table of Contents
loading

Table of Contents