************ WinBatch+Compiler 2024B Release ************

Started by td, September 19, 2024, 09:26:29 AM

Previous topic - Next topic

td


WinBatch, WebBatch, and WinBatch+Compiler 2024B are now available for download.

Customers with a current license may download the latest version of the software from the download page.

https://www.winbatch.com/download.html - use the "Click here to download WinBatch+Compiler" link.

If you do not have a current license and are interested in this and future releases, please visit our software purchase page. You can easily order online.

https://commerce.winbatch.com

Release notes:

 WB 2024B 2024 Sept 18, 2024 

 DLL 6.24bxb First appearing in WB 2024B

   Added a WIL Map check to the ObjectType function's passed in data value to prevent the
   function from attempting to convert WIL Maps to SafeArrays.

   Addressed rarely occurring memory corruption problems when WIL map variables are cleared
   as part of the script termination process.

   Modified the VarType function to return zero(0) instead of generating an error when passed
   an array variable along with an out of bounds subcript in the array's brackets.

   Added support for embedded arrays and maps. WIL maps can be embedded in WIL maps and WIL
   arrays and WIL arrays can be embedded in WIL arrays and WIL maps.
   Embedded array and map elements are accessed using multiple sets of brackets after a
   map/array variable.
   Limitations:
    The ArraySearch function only supports linear (options 0 or 1) searches and only searches
     the top-level array. For performance reasons, it does not search the embedded array.
    The ArraySort function can not be used on arrays containing nested arrays or maps.
    The WIL interpreter limits the number of bracket-sets following an array/map variable to 8
     sets. Nesting arrays to a greater level hurts overall script performance and is
     discouraged.
    The ArrayInsert function can insert an array into an array but arrays can not be used to
     initialize an entire inserted row or column.
    The ArrayFilePut and ArrayFilePutCSV can not be used to write arrays containing embedded
     arrays to a file.
    The ArrayItemize, ArrayToStr, and ArrayLocate functions ignore embedded array elements.

   WinBatch Compiler:
    Added ability to input a user-specified timestamp URL to the "Code Signing Details" compiler
    dialog box.

    Removed all references to the Symantec timestamp URL. The Digicert
    "http://timestamp.digicert.com" URL is now the default timestamp. The Digicert timestamp
    server only provides RFC 3161 compliant services.
 
   WinBatch Studio:
    Fixed issue with multi-file search functionality that could cause a memory fault when the
    searching a zero-length file.
 
   Dialogs and Dialog Editor:
      Added the @dpoCtlType(1008) option to the DialogProcOptions function. The @dpoCtlType
      option retrieves the type name of the control with the name supplied in the second
      parameter to the function.


"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade


spl

QuoteAdded support for embedded arrays and maps. WIL maps can be embedded in WIL maps and WIL
 arrays and WIL arrays can be embedded in WIL arrays and WIL maps.

Nice, can't wait to attempt an example of what I would like. [and hey, any way to bring the imogies back to include with responses] ;)
Stan - formerly stanl [ex-Pundit]

td

Making embedded arrays work involved significant effort, so I hope users find it useful.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

spl

Quote from: td on September 19, 2024, 01:47:19 PMMaking embedded arrays work involved significant effort, so I hope users find it useful.

Stab from the past. But remember the msShape provider which allowed fabricated recordsets with subsets of columns. Nice thing about those was they could be persisted/modified. I know WB arrays/maps can be persisted to .csv but interested in how embedded arrays might persist, and would test multiple data types.

[EDIT] beware the syntax police - Comiler vs. Compiler
Stan - formerly stanl [ex-Pundit]

td

Quote from: spl on September 20, 2024, 06:18:56 AM[EDIT] beware the syntax police - Comiler vs. Compiler

Thanks. The dangers of copy-and-paste strike again...
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

td

Quote from: spl on September 20, 2024, 06:18:56 AMhow embedded arrays might persist

You would have to write a script that detects and separates embedded arrays from their hosting array and devise your file structure or use multiple files to store them.
 
 
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

spl

Quote from: td on September 20, 2024, 07:58:11 AM
Quote from: spl on September 20, 2024, 06:18:56 AMhow embedded arrays might persist

You would have to write a script that detects and separates embedded arrays from their hosting array and devise your file structure or use multiple files to store them.
 
 

understood.

[EDIT] so if I wanted to persist to Json or xml [with embedded array values] I would experiment.
Stan - formerly stanl [ex-Pundit]

PercivalOgg

"Added support for embedded arrays and maps."  -- awesome!

KDB

kdmoyers

<<  Added the @dpoCtlType(1008) option >>
Woo hoo!  thanks!!
The mind is everything; What you think, you become.