BASIC Border Statements and Functions - fvdhoef/aquarius-plus GitHub Wiki

SET BORDER

TYPE: plusBASIC v0.16d screen statement

FORMAT: SET BORDER { CHR character } { COLOR fgcolor , bgcolor }

Action: Sets the text screen border character and/or colors.

  • character specifies the character to fill the border with.
    • This can be a numeric ASCII code or a string of which the first character will be used.
      • Illegal quantity error results if the string has a length of zero.
  • fgcolor and bgcolor specifiy the foreground and background colors, respectively, of the border.
  • Either one of or both the CHR and COLOR clauses may be included.
    • _Syntax error~ occurs if neither clause is present.
Examples:
  SET BORDER CHR 42

Sets the border character to an asterisk.

  SET BORDER COLOR 7,0

Sets the border colors to white on black.

  SET BORDER CHR "@" COLOR 0,7

Sets the border character to the at sign and colors to black on white.


RESET BORDER

TYPE: plusBASIC v0.16d screen statement

FORMAT: RESET BORDER

Action: Resets the text screen border character and colors.

  • The border character is set to space.
  • The border colors are set to the current default colors.
  • If the border offset has not been remapped, CLS will also reset the border.
  • PRINT CHR$(11) always resets the border.
⚠️ **GitHub.com Fallback** ⚠️