Tab; Tag - AMSTRAD cpc 6128 User Instruction

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

Advertisement

S Y M B 0 L AFT E R will NOT operate if invoked AFTER the value of H I M E M has
been altered using the M E M 0 R Y command, or by the opening of a file buffer with
OPENI Nor OPENOUT. Under such circumstances, an 'Imprope r argument'
error (5) will be reported, (unless the previous state was S Y M BO L AFT E R 256).
Further information concerning user-defined characters will be found in part 2 ofthe
chapter entitled 'At your leisure .... '.
Associatedkeywords: H I M EM, MEMO RY, S YMBO L
TAB
(See P R I N T TAB)
TAG
TAG [# < stream expression>]
10 INPUT "enter your name";a$:CLS
20 PRINT "You certainLy get around ";a$
30 TAG
40 x=LEN(a$)*17:y=50+RND*300:MOVE -x,y
50 FOR f=-x TO 640 STEP RND*7+3
60 MOVE f,y:PRINT " ";a$;:FRAME:NEXT
70 FOR b=640 TO -x STEP-RND*7+3
80 MOVE b,y:PRINT a$;" ";:FRAME:NEXT
90 GOTO 40
run
COMMAND: Sends any text specified for the given <stream expression> to be printed
at the graphics cursor position. This allows text and symbols to be mixed with
graphics, or moved pixel by pixel as opposed to character by character. The <stream
expression> defaults to
# 0
if omitted.
The top left ofthe character cell is TAGged (Text At Graphics) to the graphics cursor,
and non-printing control characters (e.g. line feed and carriage return) will display if
the PR I N T statement is not terminated by a semicolon.
In the default stream (#
0),
BASIC will switch off TAG when returning to direct
mode.
Associated keywords: TAG 0 F F
Chapter 3 Page 82
Complete List of Keywords

Advertisement

Table of Contents
loading

Table of Contents

Save PDF