Skip to content

Dollar Sign

Samuel Gomes edited this page Nov 8, 2022 · 1 revision

The $ is used to denote QBasic Metacommands or as a STRING variable type suffix.

Usage

$INCLUDE: 'QB.bi'

  • $STATIC denotes that all arrays can only be dimensioned once using DIM.
  • $DYNAMIC denotes that all arrays can be redimensioned using REDIM ONLY.
  • $INCLUDE includes a BI file or QBasic Library in a program. The file name requires a comment before and after the name.
  • The STRING variable suffix MUST be used if the variable is not dimensioned in a DIM statement. The statement can also set a fixed string LEN.

See Also

Clone this wiki locally