A program which uses GRAPH-XT must use the following programming sequence:
1. Load the HTBasic library using LOADSUB
! Load the DPlot function library from Tech Soft for usage of universal library
IF NOT INMEM("DPlot_lib_start") THEN LOADSUB ALL FROM "htb_dplot.lib"
2. Declare the required variables
3. Register the Global Error Handler
4. Call the SUB DPlot_start()
5. Write your own functions: Create diagrams, computation, printing etc.
6. Call the SUB DPlot_quit()
|
Usage of Variable Verbose
Using the Verbose variable you can control whether or not status and error messages should be displayed if a library function is executed. This is particulary important and useful during program development.
If you set this variable to 0 (zero), no messages will be displayed at all. If you set this variable to 1 you’ll see all messages including error messages, setting this variable to 2 displays error messages only. If you are testing your application you should set Verbose to 1. If your application is ready you can set Verbose to value 2.
If you set the Verbose variable to 3 a logfile will be created in the "..\All Users\Application Data\GRAPH-XT" directory. See also è FNDplot_verbose for programmatically setting this mode.
|
|
In order to minimize your programming efforts and reduce the risk of programming errors we recoomend to use the several è application frameworks (see chapter "How do I...?").