' help.bas -- Help System Library for DVX BASIC
'
' Provides access to the DVX help compiler and viewer.
' Compile .dhs source files to .hlp and open them in the viewer.
'
' Usage: Add this file to your project.

DECLARE LIBRARY "basrt"
    ' Compile a .dhs source file to a binary .hlp file.
    ' Returns True on success.
    DECLARE FUNCTION HelpCompile(BYVAL inputFile AS STRING, BYVAL outputFile AS STRING) AS INTEGER

    ' Open a .hlp file in the DVX Help Viewer.
    DECLARE SUB HelpView(BYVAL hlpFile AS STRING)
END DECLARE
