Troff; Tron; Unt; Upper$ - AMSTRAD cpc 6128 User Instruction

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

Advertisement

TRorr
TRON
TROFF
TRON
113 TROFF:PRINT:PRINT "TRace-OFF"
213 FOR n=1 TO 8
313 PRINT "program runn;ng":NEXT
413 IF f=1 THEN END
513 TRON:PRINT:PRINT "TRace-ON"
613 f=1:GOTO 213
run
COMMAND: Traces the execution of a program by printing each line number before
carrying it out. The line number appears inside square brackets [ ] .
T R 0 N switches TRace 0 N; T R 0 F F switches TRace 0 F F.
The facility is particularly useful for studying the sequence of program line execution
just before an error occurs.
Associated keywords:
none
UNT
UN T ( <address expression> )
PRINT UNT<&FF66)
-154
COMMAND: Returns an integer in the range
-32768
to
+32767
which is the
twos-complement equivalent of the unsigned value of the <address expression>.
Associatedkeywords: Cl N T, F I X, I NT, ROU N D
UPPER$
UP PER
$ (
<string expression> )
113 CLS:a$="my, how you've grown!"
213 PRINT UPPER$(a$)
run
FUNCTION: Returns a new string expression which is a copy of the specified <string
expression> but in which all alphabetic characters in the range A to Z are converted to
upper case. The function is useful for processing input which may come in mixed
upper/lower case.
Associated keywords: LOW E R
$
Chapter 3 Page 86
Complete List of Keywords

Advertisement

Table of Contents
loading

Table of Contents

Save PDF