Standard Subroutines

Top  Previous  Next

 

QMBasic includes a set of standard subroutines that may be called from user programs. These all have an exclamation mark prefix to the subroutine name.

 

!ABSPATH()Form an absolute pathname from a directory and file path
!ATVAR()Return value of an @-variable
!ERRTEXT()Return text description of an error number
!GETPU()Get print unit characteristics
!PATHTKN()Process special tokens in a VOC or ACCOUNTS file pathname
!PARSER()Command line parser
!PCL()PCL control code functions
!PICK()Display a pick list of options
!PICKLIST()Display a pick list of options
!QMCLIENTQMClient interface from QMBasic
!SCREEN()Screen driver
!SETPU()Set print unit characteristics
!SETVAR()Set the value of an @-variable
!SORT()Sort a delimited list
!USERNAME()Return user name for a given user number
!USERNO()Return a list of user numbers for a given user name
!VOCREC()Read a VOC record, following remote pointers