ProvideX V8.20 > Language Reference > 5. Mnemonics
633
'RC' Mnemonic
       Return Cursor Address
Editing
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
GUI Display/Printer
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
'RECTANGLE' mnemonic uses current attributes for the 'FILL' Mnemonic, p.605, and
the 'PEN' Mnemonic, p.628.
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
GUI Display/Printer or Character Display
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$,