HTBasic Help
×
Menu
Index

Version 21 Release Notes

 
21.1.016 4/18/24
·     The BuilderPlus Combo Dialog Dropdown List was not always visible on Windows 10. This has been fixed and now shows correctly.
·     Added the ability to programmatically view and change the processor affinity. Use PRINT SYSTEM$(“PROCESSOR AFFINITY”) to return the current processor affinity mask value. To set the processor affinity, use CONFIGURE SYSTEM(“PROCESSOR AFFINITY;mask_value” where mask_value is a decimal number whose binary equivalent is a bit mask for selecting processor cores . For example, to select processors 3 and 1, use a decimal value of 5 (binary '0101'). To set the processor affinity to just processor 3, you would use a decimal value of 4 (binary '0100', where the third bit indicates processor 3).
·     Fixed an issue where printing to a virtual LPT port using ISC 26 was not working in Windows 11.
·     A fix made in release 21.1.013 around reading data from a file into a string that was dimensioned one larger than the data, introduced an issue where in rare cases, COM memory could become corrupted. This has now been resolved.
 
21.1.015 9/27/23
·     Fixed a case where AutoSave Values in the Registry could become corrupted. When opening the Options / Run Environment for the first time, AutoSave Registry values are created using Defaults in the Registry. However, the AutoSave values were not being read from the Registry until clicking on the Autosave Tab. So, once the AutoSave tab has been accessed at least once, going back into the Options / Run Environment and closing again caused the AutoSave Registry to be written using values that were not initially read as the defaults from the registry. So, they were simply whatever was in the memory location at the time, thus corrupting the registry. This was fixed by correctly initializing the variables and then reading them from the Registry upon opening the Options / Run Environment dialog.
·     Refactored the StripChart and XYGraph Widgets to correctly display TimeDate NumberFormat options Clock24 and Clock12. These formats were missed when updating HTBasic to .net.
·     Fixed a memory leak edge case where changing the "Font" setting on widgets up to 10,000 times in one session would cause a crash.
·     Added the ability to pass empty strings by value in DLLs.
·     Fixed a problem with Save As… when a user clicked on the existing name of the program to edit and increment a version suffix, clicking Save would insert the original name and warn that it was about to overwrite the original program. This now correctly saves the updated version of the program name. 
 
21.1.013 3/26/23
·     Fixed issue where passing a single character string by Reference to a DLL did not correctly pass the character. (This case was missed in the previous pass by value fix in .012)
·     Fixed case where reading data from a file into a string whose DIMensioned size is one larger than the data to be read results in the first character of the EOL (i.e. a CR) being returned as part of the data since the max string length was reached before the full EOL (a 2-char CR/LF) was detected.
·     Refactored the Device Verification Error Handling to provide more accurate messaging if unable to communicate with the device.
 
21.1.012 11/5/22
·     Updated development toolset to Visual Studio 2022
·     Resolved the issue with GESCAPE CRT,50 not correctly hiding the menu bar.
·     Fixed issue where passing a single character string by Value to a DLL did not correctly pass the character.
·     Added support for a VISA driver.
·     Refactored the List View portion of the Device Selection Dialog to more clearly show interfaces and devices detected.
·     Fixed some edge case crashes with the refactored Device Selection Dialog
·     Fixed “On Timeout” with the VISA driver.
 
21.1.011 5/7/22
·     Changed startup Memory size to 1024MB and set as default with automatic fallback based on available memory. This setting in the Options menu has therefore been removed.
·     Fixed a case where when adding a variable to the watch window when another variable in a COM block had the maximum name length caused a crash.
·     Updated support email address in About dialog to htbsupport@ttansera.com.
 
21.1.010 4/2/22
·     Fixed the loading of the SERIAL32 driver with long format version numbers.
·     Implemented another method to properly pass in the timeout value used by the LXI driver.
·     Fixed the look-up of two-keyword Help indexes when pressing F1.
·     Fixed some broken links in the Help file index.
 
21.1.009 2/17/22
·     Fixed an issue where the ".prg" and ".bas" file types were not getting registered correctly to HTBasic 2021.
 
21.1.008 2/6/22
·     The Find dialog's "Find What" field no longer randomly shows invalid characters when first invoked.
·     The LXI driver’s timeout value, which by default is set at 2-seconds, can now be set by Properties in the Device Setup dialog or by a parameter in the Load Bin statement. So, devices that take longer to respond will no longer timeout.
·     The HTBasic Reset Utility (in the install folder) will now show HTBasic Versions 2021 and newer.
·     The Help File window no longer stays on top when the HTBasic edit/program window has the focus.
·     The Major.Minor.Maintenance version numbering (yy.n.mmm) now shows the third Maintenance number (mmm) as a sequential release number instead of Day-of-Year since the Major number (yy) will indicate the year the major version was first released rather than the current release year. The Minor number (n) still indicates a more significant release than Maintenance but not as significant as a Major release.
 
21.1.338 (007) 12/4/21
·     Fixed an issue where when a widget was set as a Transient widget, you could not access the system menu or click on any control on the dialog.
 
21.1.329 (006) 11/25/21
·     Added a new attribute setting “ACTIVATE NEWEST”:0|[1]” to the BPlus ASSIGN @Panel TO WIDGET “PANEL”;SET(attributes) statement to control whether the latest control added to a panel widget is activated or not. This is to fix alignment problems that occur under certain circumstances when setting the panel’s SCROLL attributes prior to setting the panel VISIBLE.
 
21.1.294 (005) 10/21/21
·     Max Memory increased to 4096 MB to allow setting of initial startup memory higher than 256 (even though default had been increased to 512).
 
21.1.290 (004) 10/17/221
·     Changed executable name from HTBasic.exe back to HTBWin.exe for compatibility with older existing customer programs with CSUBs that referenced HTBwin.exe directly.
 
21.1.271 (003) 9/28/21
·     The yyyy.mmdd date-code format used for the version number has been changed to yy.n.doy where “yy” is a 2-digit year, “n” is the minor release number, and “doy” is a 3-digit day-of-year. This was necessary after discovering that the field width for storing the major version number (i.e., “2021”) in binary program file headers was set at 2 characters and overwriting it with 4 characters caused HTB to crash when attempting to LOAD a STOREd program. It was further discovered that the 4-digit mmdd (month/day) field width caused problems when loading the GPIBNI and HPIBS drivers.
 
21.1.268 (002) 9/25/21
·     GESCAPE CRT,50 issue fixed.
 
2021.0827 (001) 8/27/21
·     Changed versioning to yyyy.mmdd datecode to track release dates more easily.
 
___________________________________________________________________
 
2021 (000) 7/10/21 – First Release of HTBasic 2021
 
FEATURES:
·     A new LXI Visa Device Driver has been added.
·     Auto-discovery of LXI Devices that implement ZeroConf.
·     Added support for verifying communication with LXI and Visa Devices.
·     New "Device Driver Selection" dialog created to better support adding device drivers. 
·     Added "HTBSelectDirectory" DLL to the DLL Toolkit.
·     Installer updated to include all necessary Microsoft .NET libraries, so an internet connection is not required to install HTBasic.
·     A sample AUTOST program is no longer loaded by default. Instead, two sample AUTOST programs, one simple and one interactive, have been added to the Example programs folder.
·     BPLUS now loaded as part of core, so LOAD SUB "BPLUS" statements will be ignored.
·     BPLUS functionality has been relabeled Builder+ in documentation.
·     Increased the default startup working memory size to 512 MB.
·     The following menu labels have been updated for improved clarity:
o     "Change MSI on Open" now says "Change MSI Folder Path on Open"
o     "Set Indent" now says "Indent Settings"
o     "Indent All" now says "Indent"
o     "Change MSI..." now says "Change MSI Folder Path..."
o     "BPlus Screen Builder" now says "Screen Builder"
o     "Increment Column" (in the Indent Dialog) now says "Indent Level"
·     Removed the "Renumber" menu item (REN can be invoked from command line).
·     Added website address to the about dialog.
·     Updated the License Agreement and added new Privacy Statement.
 
FIXES:
·     Fixed an intermittent issue where the initial Font in the HTBasic Editor was not the correct "fixed-width" font.
·     Attempting to Load BPLUS from the HTBasic Editor Command Line no longer causes HTBasic to shut down.
·     Changed main executable from HTBwin.exe to HTBasic.exe for more consistency with the product name.
___________________________________________________________________