HTBasic Help
×
Menu
Index

Changes from 9.0 to 10.0

 
An auto-save feature was added. On the Run Environment dialog a new tab AUTO SAVE provides automatic saving of programs. Options may be set for the duration and directory to save the backup file into. Files will be saved with an .AutoSave extension.
 
The Secure Utility (previously only available with the HTBasic Workshop) is now included as an option on the Tools menu. The SECURE utility processes an HTBasic PROG file for distribution to make it smaller and harder to reverse engineer It removes most of the embedded program information, compresses the unused control table space, secures the program lines to prevent listing.
 
The CSUB Toolkit (previously only available with the add-on package CSUB Toolkit) is now included as an option on the Tools menu. The CSUB Toolkit allows one to build compiled subprograms for HTBasic. A compiled subprogram, or CSUB, runs directly on the processor hardware and has access to all of it’s power and functionality.
 
The Advanced Math Library is now included with the HTBasic package instead of being available as an add-on component. The HTBasic Math Library is a collection of subroutines that give users of the HTBasic programming language access to fast versions of higher mathematical and signal processing functions. Most of these routines are compiled, so they run at a much higher speed than equivalent BASIC subroutines. The routines are meant to be incorporated into user BASIC programs to enhance their speed, and to save the user's writing the subroutines. The routines are installed into the mathlib folder, and samples for each of them are found in the math_ex folder. The Advanced Math Library Help file also details each of the routines, their syntax and usage.
 
An option was added to the Tools menu to directly access the BASIC PLUS ScreenBuilder Utility.
 
The BASIC PLUS PUSHBUTTON widget now wraps text if the pushbutton is not wide enough to handle the entire text.
 
The BASIC PLUS Number Dialog now properly accepts all numbers when running in Octal mode.
 
The BASIC PLUS Panel Widget now properly shows a minimized icon.
 
The BASIC PLUS System Widget now accepts the ON EVENT @Sys,"SYSTEM CLOSE" syntax for programmatically closing System Widgets.
 
An option was added to the Run Environment Dialog to allow for sending PURGEd files to the Window’s recycle bin rather than permanently deleting the files.
 
A copy option was added to the Debug Watch window.
 
A dll sample that returns the current Window’s username, HTBUserName.dll, was added.
 
The DLL toolkit was enhanced to support returning more than 256 string characters.
 
An icon was added to the toolbar to provide quicker access to the Device Setup Dialog.
 
The ability to call CSUB’s from an ON EVENT call was added.
 
It is now possible to print code in color using the Print Program option on the file menu.
 
A BW option was added to the WIN-DUMP driver for dumping output to color printers in Black & White. The default option was also changed to COLOR. To print in grayscale, use the GRAY option.
 
GESCAPE PRT,106 was expanded to allow for DUMPing portions of the screen with the WIN-DUMP driver. New Control and Status registers were added for specifying the DUMP region.
 
The new SERIAL driver introduced with the 9.0 release may now be loaded with the LOAD BIN "SERIAL" syntax as well as from the Device Setup dialog.
 
An option was added to return the name of the COM port that a particular ISC has been assigned to using the SERIAL driver. The syntax for this is: STATUS (Isc,102).
 
Performing a RESET on a SERIAL ISC now properly retains setup information for the baud rate. Previously this was being improperly reset.
 
The SYSTEM$("PRINTER NAME") returns the current Description of the Driver currently assigned to the PRINTER IS. If this driver is the WIN-PRINT driver, it returns the printer description.
 
Functions and subprograms are now properly separated in the XREF output.
 
The WAIT statement was optimized to not dominate CPU cycles.
 
The GLOAD command was enhanced to properly allow for re-positioned re-loaded images to different locations on the BASIC screen.
 
Find from the output window now properly scrolls. Previously it would not scroll to the next found item.
 
When reading in an ASCII file blank lines no longer read with a "!" comment character.
 
The TIMEDATE function has been enhanced to match the 1 millisecond resolution for timing functions implemented with the 9.0 release. These will only be effective on NT based operating systems.
 
Match Whole Word and Match Case options under the Search/Find menu are now working correctly.
 
Blank line editing has been improved for stability.
 
DISPLAY FUNCTIONS is now fully supported on localized versions of Windows.
 
The GPIB driver is now properly handling multiple user accounts. Previously only Administrator accounts could use the GPIB driver on setups other than the default.
 
Interrupts with the HPIBS Driver were enhanced to provide support for all interrupt types.
 
The TIME option in the HPIBS driver is now properly setting duration for TIMEOUT conditions.
 
The Default SICL name in the HPIBS Properties dialog was changed to gpib0 to match the currently available Agilent SICL package. The default name was changed from hpib7 to gpib0.
 
When Entering a String array using GPIBNI 9.0 Driver an Error 153 "Insufficient data for ENTER" was being received unless USING "K" was used. The driver was reporting EOI when an EOS character was seen even if EOI did not really occur. This has been corrected to properly terminate with out needing to use USING "K".
 
Doing an incoming TRANSFER using the GPIBNI driver, using a string that had a Line feed in the middle of it, the transfer would terminate when hitting the line feed. This was corrected so the TRANSFER would terminate properly.
 
Changes in 9.1
A function called LoadSub has been added to the Tools menu. This function allows the user to LOADSUB subprograms and functions from a PROG file using a list of all available SUBs in a list box.
 
A new DLL for creating custom toolbars has been added to the samples folder in the DLL Toolkit.
 
Control Register 158 was added to clear the Dump Graphics Custom Coordinates set using registers 154 – 157. After setting the control registers 154 - 157, their values are always set in that particular instance of HTBasic. This register clears those values. This will also give the user the ability to do a partial dump during one part of his program, and a full dump in another part.
 
Full support for LONGs has been added to the Numeric Compiler.
 
Recursive Cat, Dump Plus and GLOAD ON and OFF has now been added to the Runtime Options Dialog.
 
Blank lines no longer have !~! added to them when saving an HTBasic program as an ASCII file. Previously when opening the file in an editor other than HTBasic, all blank lines contained the !~!.
 
CAT on a non-existent filename from the command line HTBasic generates error 56. The old HP Workstations generate an error 56 when executing the same code. To help those that are used to the HP Workstation behavior a configure system command was added. To set this switch click on the "HP Skip" checkbox under the Options/Run Environment menu, or by using the CONFIGURE SYSTEM("HPSKIP ON") and CONFIGURE SYSTEM("HPSKIP OFF") options.
 
Changing the properties of the Serial driver with CONTROL statements, will now properly update the properties for the Serial driver entry in the Device Setup dialog.
 
CONTROL KBD, 16 was changed to have multiple options.
They are as follows:
CONTROL KBD, 16;0 --> enable scroll keys
CONTROL KBD, 16;1 --> disable scroll keys
CONTROL KBD, 16;2 --> disable scroll keys, but allow scroll keys to trigger ON KBD event.
 
Control statement was added to allow use of the PPA type Printers when doing a DUMP GRAPHICS. CONTROL 10,160;1   now enables the use of PPA Printers.  CONTROL 10,160;0  disables use of PPA Printers. PPA printers include the HP DeskJet 710C, 712C, 720C, 722C, 820Cxi, 820Cse,1000Cxi, 1000Cse.
 
Dithering is now working properly when using Area Intensity and Area Color.
Focus is now correctly set to String Widgets that are children widgets to a panel.
HTBasic now generates error 951 instead of hanging when trying to execute an incomplete save command. Ex. SAVE "filename",
 
GLOAD / GSTORE command functionality when using optional parameters has been changed. Prior to 9.1 it was not possible to GSTORE using positioning parameters and then GLOAD using those same parameters. To correct this issue, the GLOAD command began to require parameters when loading in an image. It is now possible to GLOAD with or without parameters, however to change between the New and Old GLOADs it is necessary to use the following syntax:
CONFIGURE SYSTEM("GLOAD UP")
or
CONFIGURE SYSTEM("GLOAD DOWN")
Additionally these settings may be set in the Run Environment dialog.
 
GPIBNI Driver no longer gives a "Missing option or configuration" error when executing a SEND command with the TALK option.
 
HPIBS Driver performing an ENTER, the ON TIMEOUT statement now works properly. Previously the ON TIMEOUT statement was ignored.
 
Lines of code are no longer lost when highlighting and printing a section of code that extends to 2 or more pages.
 
LONG variables are now fully supported in the Numeric Compiler.  Previously, certain computations such as two LONG variables being added and the value assigned to a REAL, or a LONG being divided by a REAL, would cause compile time errors.
 
Pasting text onto the first line of a SUB program is no longer possible.  This prevents users from inadvertently altering the SUB definition in a way that would cause errors.
 
Printing a program that contains the SYSTEM$ command, lines of code that contain this syntax are no longer omitted.
 
Program lines that exceed the printer width now print on multiple lines. Previously when printing out a program line that extended off the page, the line cut off instead of wrapping around to the next line.
 
Saving as "Text without line numbers" now shows the new file name in the HTBasic header immediately after re-opening.
 
Saving as Text without line numbers no longer causes all !'s that appear at the end of a line to shift position when reopening the file.
 
Serial driver using the WAIT statement now works properly when used after the ON TIMEOUT statement.
 
The Alt+L keyboard shortcut now accesses the Tools menu.
 
The Alt+T keyboard shortcut now switches between sub and full program listing only.  Previously the Tools menu was activated using <Alt>+T as well.
Editor now scrolls correctly after setting a bookmark with CTRL+F9 and then accessing the bookmark using CTRL+F10.
 
TIMEDATE functions now is dynamically updated from the system time if the system time changes during HTBasic execution.
 
XY WIDGET attribute BIG NUMBERING is not a supported attribute. They syntax is supported for porting functionality only.
 
Changes in 9.2
A function called LoadSub has been added to the Tools menu. This function allows the user to LOADSUB subprograms and functions from a PROG file using a list of all available SUBs in a list box.
 
A new DLL for creating custom toolbars has been added to the samples folder in the DLL Toolkit.
 
Control Register 158 was added to clear the Dump Graphics Custom Coordinates set using registers 154 – 157. After setting the control registers 154 - 157, their values are always set in that particular instance of HTBasic. This register clears those values. This will also give the user the ability to do a partial dump during one part of his program, and a full dump in another part.
 
Full support for LONGs has been added to the Numeric Compiler.
 
Recursive Cat, Dump Plus and GLOAD ON and OFF has now been added to the Runtime Options Dialog.
 
Blank lines no longer have !~! added to them when saving an HTBasic program as an ASCII file. Previously when opening the file in an editor other than HTBasic, all blank lines contained the !~!.
 
CAT on a non-existent filename from the command line HTBasic generates error 56. The old HP Workstations generate an error 56 when executing the same code. To help those that are used to the HP Workstation behavior a configure system command was added. To set this switch click on the "HP Skip" checkbox under the Options/Run Environment menu, or by using the CONFIGURE SYSTEM("HPSKIP ON") and CONFIGURE SYSTEM("HPSKIP OFF") options.
 
Changing the properties of the Serial driver with CONTROL statements, will now properly update the properties for the Serial driver entry in the Device Setup dialog.
 
CONTROL KBD, 16 was changed to have multiple options.
They are as follows:
CONTROL KBD, 16;0 --> enable scroll keys
CONTROL KBD, 16;1 --> disable scroll keys
CONTROL KBD, 16;2 --> disable scroll keys, but allow scroll keys to trigger ON KBD event.
 
Control statement was added to allow use of the PPA type Printers when doing a DUMP GRAPHICS. CONTROL 10,160;1   now enables the use of PPA Printers.  CONTROL 10,160;0  disables use of PPA Printers. PPA printers include the HP DeskJet 710C, 712C, 720C, 722C, 820Cxi, 820Cse,1000Cxi, 1000Cse.
 
Dithering is now working properly when using Area Intensity and Area Color.
Focus is now correctly set to String Widgets that are children widgets to a panel.
HTBasic now generates error 951 instead of hanging when trying to execute an incomplete save command. Ex. SAVE "filename",
 
GLOAD / GSTORE command functionality when using optional parameters has been changed. Prior to 9.1 it was not possible to GSTORE using positioning parameters and then GLOAD using those same parameters. To correct this issue, the GLOAD command began to require parameters when loading in an image. It is now possible to GLOAD with or without parameters, however to change between the New and Old GLOADs it is necessary to use the following syntax:
CONFIGURE SYSTEM("GLOAD UP")
or
CONFIGURE SYSTEM("GLOAD DOWN")
Additionally these settings may be set in the Run Environment dialog.
 
GPIBNI Driver no longer gives a "Missing option or configuration" error when executing a SEND command with the TALK option.
 
HPIBS Driver performing an ENTER, the ON TIMEOUT statement now works properly. Previously the ON TIMEOUT statement was ignored.
 
Lines of code are no longer lost when highlighting and printing a section of code that extends to 2 or more pages.
 
LONG variables are now fully supported in the Numeric Compiler.  Previously, certain computations such as two LONG variables being added and the value assigned to a REAL, or a LONG being divided by a REAL, would cause compile time errors.
 
Pasting text onto the first line of a SUB program is no longer possible.  This prevents users from inadvertently altering the SUB definition in a way that would cause errors.
 
Printing a program that contains the SYSTEM$ command, lines of code that contain this syntax are no longer omitted.
 
Program lines that exceed the printer width now print on multiple lines. Previously when printing out a program line that extended off the page, the line cut off instead of wrapping around to the next line.
 
Saving as "Text without line numbers" now shows the new file name in the HTBasic header immediately after re-opening.
 
Saving as Text without line numbers no longer causes all !'s that appear at the end of a line to shift position when reopening the file.
 
Serial driver using the WAIT statement now works properly when used after the ON TIMEOUT statement.
 
The Alt+L keyboard shortcut now accesses the Tools menu.
 
The Alt+T keyboard shortcut now switches between sub and full program listing only.  Previously the Tools menu was activated using <Alt>+T as well.
Editor now scrolls correctly after setting a bookmark with CTRL+F9 and then accessing the bookmark using CTRL+F10.
 
TIMEDATE functions now is dynamically updated from the system time if the system time changes during HTBasic execution.
 
XY WIDGET attribute BIG NUMBERING is not a supported attribute. They syntax is supported for porting functionality only.
 
Changes in 9.3
The WIN-PRINT driver now allows color printing. This may be turned on/off by checking/Unchecking the "Color Printing using WIN-PRINT Driver" box under the Options|Run Environment menu, or by using the CONFIGURE SYSTEM("WINPRINT COLOR ON")  or CONFIGURE SYSTEM("WINPRINT COLOR OFF") statements. By default, when doing color printing  using the WIN-PRINT driver, all white text will be inverted to black. If this is not desired, the add the INVERT option to the above statement. CONFIGURE SYSTEM("WINPRINT COLOR ON;INVERT")
 
Comment and UnComment are now available from the right click context menu in the HTBasic Editor.
 
Basic Plus Widgets may now be dumped to a GIF file using the GIF driver, after having enabled Basic Plus dumping by using either the CONFIGURE SYSTEM("DUMP;PLUS") statement, or by checking the Dump Plus checkbox under the Options|Run Environment menu.
 
Custom baud rates for the serial driver may now be entered using the "CONTROL 9,13;baudrate" statement.
 
Specifying array elements is now allowed in the Debug Watch Window. The array elements should be specified the same as they would be in a program. e.g. Intarray(3,2) Note: All declared elements of the array must be specified.
 
Array elements may now be specified in the Conditional Breakpoints and Global Breakpoints dialogs. After selecting the appropriate variable from the drop-down list, specify the correct element using the following syntax: (2,3)
 
The Numeric Compiler now allows file paths to be longer than 80 characters.
 
Clicking on ASCII files with the .BAS extension will now launch HTBasic, and GET the program. Previously only HTBasic
Prog files had this feature.
 
Long Hex constants are now supported.
 
Deleting lines that contain breakpoints will now correctly remove the breakpoints and the lines. Previously this would
sometimes cause HTBasic to close.
 
Event Handlers are no longer disabled when using the Autosave feature.
 
Dumping to a GIF file will now allow the BW and EXPANDED options to be used together, producing correct results.
 
Combining Dump Graphics and Printing using PPA printers will now correctly print each page. Previously, after printing and doing a dump graphics using PPA printers, no more Printing or Dumping would correctly spool to the printer.
 
A Pause character followed by a Step character using CHR$(255)&"P"&CHR$(255)&"S" will now correctly execute the pause followed by the step. Previously, this caused an error.
 
The Numeric Compiler now supports the combination of LONGs and INTEGERs in numeric expressions.
 
Doing a STORE AS or SAVE AS from the File menu now consistently checks for duplicate file names before performing the Store or Save Operation.
 
Printing a program larger than 2 pages using File|Print Program now correctly prints the entire program. Previously it would print a couple of pages and then close.
 
The GPIO600 and GPIO650 Drivers now correctly support the ON TIMEOUT statement.
 
Print program now correctly calculates the number of lines being printed on each page, given a page size. Previously
when selecting A4, or any other non-default page size, lines would not be correctly calculated, and sometimes printed off the page.
 
Debugging through code that uses Loadsubs and Delsubs is now supported. Previously after debugging through the first Loadsub and Delsub, all subsequent Loadsubs would cause HTBasic to freeze.
 
The Debugger code window's current line indicator now correctly updates after a Loadsub statement. Previously the current line indicator would remain on the Loadsub statement, and a new current line indicator would be created.
 
Continuous Signal Events from a DLL will no longer cause stack corruption.
 
Japanese Kanji characters are now correctly supported when using the Label statement.
 
Changes in 9.4
New USB Sicl driver called the "USBS" driver has been added to support USBTMC and USBTMC-USB488 Devices.
 
A new exported function called "PutBufferByLen" has been added to the exports.h file. This function allows the user to put data into an HTBasic buffer that is not null terminated, and is limited simply by the length passed in.
 
The GOTO dialog box under the Search Option now shows a list of all the defined Labels when the Label radio button is checked. Previously only the Sub and FN options brought up a list.
 
There is now an option found under "Options\Run Environment called Hide Csub Body that allows you to hide the "*" characters that replace program lines when a CSUB is loaded.  You can also hide and unhide the "*" characters from the command line using CONFIGURE SYSTEM ("HIDE CSUB BODY") and CONFIGURE SYSTEM ("SHOW CSUB BODY").
 
The default dimension for an HTBasic string has been enlarged to 255 characters. Previously it was set to 18 characters.
 
The "HTBClipboard" DLL has been added to the DLL Toolkit. This DLL allows the user to put text on the Windows clipboard, and get text from the Windows clipboard.
 
A new exported function called "SetExportFunction" has been added to the exports.h file. This function allows the user to provide functions in their DLL's that will serve as event handlers for several HTBasic events. These events are: L_BTN_DOWN, L_BTN_UP, R_BTN_DOWN, R_BTN_UP, M_BTN_DOWN, M_BTN_UP, CLEAR_SCREEN, and OnDraw.
 
New, more stable TCP/IP DLL Samples have been added to the DLL Toolkit.
 
A new DLL called the "Basicevents" DLL has been added to the DLL Toolkit. This dll show how to use the newely added "SetExportFunction" exported function.
 
HTBasic no longer freezes when opening the GOTO dialog with an empty project.
 
Error 19 is now generated when using the SERIAL driver and attempting to set a custom baud rate that is not supported by the system. Previously no error was generated, although the baud rate was never committed, and the driver would no longer behave correctly.
 
Several items were added to the Reset Utility that was new to version 9.3. A warning is now displayed if any versions of HTBasic are currently open or running. Keyboard shortcuts are now available and displayed after pressing the ALT key. To exit the utility there is now an exit or close buttons (X) instead of an "OK" button.
 
The options found in the "Run Environment" now correctly remain checked or unchecked even after HTBasic has been closed and reopened. Previously after closing HTBasic the "Run Environment" would come up using defaults.
 
The RETURN option in the ASSIGN statement now correctly returns an error to the specified variable in all cases. Previously when using FORMAT LSB FIRST or any other option before the RETURN option, the RETURN option was ignored.
 
The HTB Mail DLL Sample now correctly sends the body of the e-mail.  Previously too many parameters were being used and the body was not being sent.
 
Using LONGs in conjunction with the Secure Utility no longer generates error 1. Previously setting the size of a LONG between 60,000 and 130,000 would cause an error to occur.
 
HTBasic no longer generates a windows error message when using "Find" and then "Replace All".
 
The HTBFileopen DLL now allows more than 20 files to be returned. Previously no more than 20 files were returned no matter how many were selected.
 
ENTERing from a string into a LONG variable no longer generates an error. Previously error 159 "Numeric data not received" occurred.
 
The wrong error is no longer generated when trying to write to a file that is readable but not writeable. Previously Error 19 was generated when it should be error 183. This only occurred on a Linux or HP-UX Server.
 
The EOF position is now correctly read and written to a BDAT file. Previously HTBasic just used the size of the file to find the EOF position, but when using BDAT files created on old workstations, this caused invalid results.
 
Correcting syntax errors now correctly clears the error flag. Previously after correcting a syntax error, there were times where HTBasic would still report that there were errors, and would not allow the program to be run.
 
The EXECUTE command now correctly checks the OS to determine how many characters to allow. On 98/ME it is still limited to a total length of 127 characters, but on NT based systems it now allows 2045 characters.
 
ENABLE INTR for the SERIAL driver now correctly enables only the specified interrupts. Previously no matter which interrupt was specified to be enabled, they would all end up enabled.
 
STATUS 10 for the SERIAL driver now correctly displays that a BREAK was detected. Previously when interrupted by a BREAK, STATUS 10 did not correctly show that it was a break that caused the interrupt.
 
STATUS 9 for the SERIAL driver now returns a valid value as described in the reference manual. Previously it was hard coded to return 0.
 
The HTBasic Reset Utility now shows Runtime Versions of HTBasic.
 
The HTBasic Reset Utility no longer displays an error when no HTBasic versions were found. Previously an error message would be displayed.
 
The HTBasic Reset utility has now been changed to allow versions of HTBasic greater than 9.3 to be reset.
 
The HPIBS Driver has been updated to support being interrupted by the CLEAR/IO, Basic Reset, and Pause functions when using the Agilent 82350 PCI-GPIB card. Previously HTBasic would appear to hang when communication was not working and when trying to use the above mentioned functions. Note: This fix applies only to the 82350 PCI-GPIB cards. Any other interface that uses the HPIBS driver will function as the driver did previously.
 
Keyboard shortcuts have been added to the Loadsub utility.
 
Error 313 "Receive Buffer Overflow" is now listed in the Help file.
 
Error 731 has been added to the help file.
 
Error 1111, "Invalid Calling Convention" has been added to the Help file.
 
The Advanced Math Library and Secure Utility help files are now included in the HTBasic Help file.
 
The "View Example" links now work in the HTBasic Help file. Previously they would bring un an empty dialog.
 
The HTBasic Help file welcome screen has been updated to show all 9 manuals that are now included in the HTBasic help files.
 
The CONFIGURE SYSTEM("WINPRINT COLOR ON/OFF"), CONFIGURE SYSTEM("HPSKIP ON/OFF"), and CONFIGURE SYSTEM("GLOAD UP/DOWN") commands have been added to the Reference Manual in the HTBasic Help files. These commands were implemented in previous versions of HTBasic, but never added to the help files.
 
KBD control register 16 has been updated in the HTBasic Users Guide to show the option to disable scroll keys, but allow scroll keys to trigger ON KBD events. This new option was added to HTBasic in version 9.2.
 
Control Register 160 was added to the Getting Started Guide, section 6, under the WIN-PRINT control registers. This register allows the toggling on and off of PPA Printer support.
 
The serial status register 102 has been added to the Users Guide, chapter 9. This register allows returning the com port a particular ISC has been assigned to.
 
The SYSTEM$("PRINTER NAME") option has been added to the Reference Manual, chapter 4. This option returns the description of the driver currently assigned to the PRINTER IS Device.
 
KBD Control register 211 has been added to chapter 6 of the HTBasic Users Guide. This register allows for programmatic control of the NUM LOCK key.
 
CONFIGURE LONGCATDATS ON|OFF and CONFIGURE ERRORSINMSGBOX ON|OFF have been added to the HTBasic Reference Guide.
 
The FOCUS attribute was added to the String Widget in the Basic Plus manual.
 
GESCAPE CRT,51, GESCAPE CRT,64, AND GESCAPE CRT,65 have been added to the HTBasic Reference Manual.
 
The Big Numbering attribute of the Stripchart widget and XY Graph Widget has been updated to correctly show that it does nothing, but is only available for backwards compatibility.
 
The "SYSTEM CLOSE" Event has been added to the event list of the Basic Plus System Widget in the Basic Plus manual.
 
Changes in 9.5
ENHANCEMENTS:
 
HTBasic is now supported on multi core and hyper-threading machines. Previously when running HTBasic on multi core and hyper-threading machines HTBasic would occasionally crash or cause undesired results.
 
Conditional breakpoints can now be edited by selecting "Edit Conditional Breakpoint" on  the breakpoint in the HTBasic Editor, or from the Line Breakpoints debug window.
 
Global breakpoints can now be edited by selecting "Edit Global Breakpoint" in the Global Breakpoints debug window.
 
Trace commands can now be added above trace 9 and no longer default to having symbols added if the color has already been specified by the user. If no trace attributes have been specified by the user for traces above 9, the symbols are still added by default.
 
A command line switch has been added that allows the user to select which processor HTBasic will run on for multi core machines. An example of this new switch is: -p 1  where 1 is the first processor.
 
 
FIXES:
 
Global breakpoint array elements are now saved in the program debug file. Previously they were not saved, and when opening a saved project any global breakpoints using arrays were corrupt.
 
Local and Network drives are now available when creating a File Widget with the ScreenBuilder. In previous versions, the drives did not show up correctly in the File Widget when created with the ScreenBuilder.
 
Doing a "Label: Goto Label" no longer takes 100% of the processor. This type of loop was common in legacy code, and caused 100% processor usage in previous versions of HTBasic.
 
A more usefull message has been added to the HPIBS and USBS drivers when loading to let the user know when Agilents SICL is not installed. Previously the message displayed "Unable to load driver".
 
The HTBasic Reset Utility has been modified to include the latest versions of HTBasic.
 
Setting global breakpoints in programs that contain COM blocks no longer causes HTBasic to crash. Previously this would cause HTBasic to crash or behave unexpectedly.
 
Passing negative literals to DLL's now works correctly. Previously passing negative literals to DLL's changed the value being passed to a positive value. In some cases it would change to a different value.
 
The elements text box in the conditional and global breakpoints dialogs now correctly updates with the newly selected variable when a different sub is selected.
 
Array elements for conditional breakpoints are now being correctly saved in the program's debug file. Previously the elements were not being saved and when the file was reopened the breakpoints were corrupted.
 
Adding conditional breakpoints in subprograms no longer causes HTBasic to close.
 
HTBasic will no longer crash when allocating more than 2 GB of memory. The amount of memory that can be allocated is still limited to the maximum allowed per process by the operating system, but attempting to allocate more than is allowed no longer causes a crash.
 
The serial driver no longer crashes when changing the baud rates at runtime. Previously depending on what the rate was set to, HTBasic would crash.
 
Setting an event to be triggered the next day from the clock widget now correctly triggers. Previously the event was not triggered.
 
Doing a loop/end loop without any commands in between no longer takes 100% of the processor. Previously this took 100% of the process unless a wait statement was used.
 
The last line of HTBasic .txt files no longer is removed when loading the file into HTBasic. Previously the last line of an HTBasic .txt file would be lost.
 
The HTBasic Runtime version no longer hangs when running the HTBIntegerSum DLL Sample.
 
Compiling a .prg file which has no extensions using the Numeric Compile now succeeds. Previously it would generate error 203.
 
Doing a "Print Program" after using CTRL-I to line up the program no longer causes HTBasic to close. previously in certain setups HTBasic would close.
 
The toggle breakpoint shortcut CTRL-F11 now correctly toggles the breakpoint in the debugger code window.
 
Using the Serial Driver, the drivers windows handles are now correctly being cleaned up, taking care of any memory leaks.
 
The Serial Driver now correctly displays error messages.