633
'RC' Mnemonic
Return Cursor Address
Description
Use 'RC' to return the current cursor address as a four-character string containing the
current line and column. The value will be returned in the input queue, just as a
keystroke would, and may be read via a READ RECORD.
'RECTANGLE' Mnemonic
Draw a Rectangle
Format
'RECTANGLE'(x,y,x,y,radius)
Where:
x,y,x,y
Coordinates for top left/bottom right corners, in graphical units.
radius
Positive integer representing the rounding factor for corners. A negative
value will have its sign flipped. If the radius exceeds half the height (or
width), the system assumes a semi-circle is used to round the edge.
Description
Use 'RECTANGLE' to draw (print) a rectangle defined by two sets of x,y coordinates.
Use graphical units or @X(col) and @Y(line) functions for the coordinates. The
Example
0030 PRINT 'PEN'(1,3,8),'FILL'(2,6)
0040 PRINT 'RECTANGLE'(100,100,400,600)
0040 PRINT 'RECTANGLE'(700,100,820,220,30)
'RED' & '_RED' Mnemonics
Colour Text
Format
Foreground: 'RED'
Background: '_RED'
Description
All input or output following this mnemonic will be in red foreground or
background.
Example
INPUT 'RED','_WHITE',"Please enter your name: ",Name$,