PCINet Toolbelt Release Notes. Major Release 5.421 Released 4/17/2012 Added Miva Script Function Tab including all available documentation for Miva Script functions. Added Toolbelt Functions tab and improved documentation. Fixed bug in Import and Export commands when using a tab as the delimiter. Major Release 5.42 Released 4/10/2012 ------------------------------------------------------------- Added Export to flat file directly from a Merchant array structure optionally sorted by any field. Added MemberNames_FromArray() Can't remember that variable name? When given a structured array (e.g. l.all_settings:products), returns the comma seperated field names from the first array element. Built in documentation updated to include all new features v5.412 and later. Version 5.412 Bugs fix: Get_ID() did not close the table if record not found. 5.412a Bugs fix: syntax error lookup|ctgy_header and lookup|prod_header failed under the cssui api. 5.412b added ee(), ea(), de(), and da() Shortname functions for encodeentities() type functions. radians(degrees) converts Degrees to Radians degrees(radians) converts Radians to Degrees arccos() working version for acos(). Mivascript bug found 2/9/2012 acos(x) returns cos(x). Not fixed as of MS v5.15 delay(seconds) -- Put on the Miva Script breaks can not exceed 1/2 the global timeout value. 5.412c Added Import from flat file: loads data directly into a Merchant array structure optionally sorted by any field. Returns l.all_settings:arrayname Bug fixed: syntax error on Binary_Search() Bug fix in price_groups.mv: pricegroup|Customer_Insert and pricegroup|Customer_Delete Under certain conditions g.Customer:pgrpcount could be < 0 before the command is called preventing Adjusted_Price_LowLevel() from calculating the price correctly. Under certain conditions it was possible for a customer to be added to a price group twice. 5.412d JSON.mv integrated. New commands Data to Json string: Json Url to Json string: Json string to Data object: Json Url to Data object: Version 5.411 added delimiter to Array_FromList 12/27/2012 added product_meta (like category_meta) 12/28/2012 Added optional spacer paramiter to Search_Product. The default spacer betwqeen paging links '  ' This option lets you over ride that or set it to a null string. Major Release 5.41 Released 1/4/2012 ------------------------------------------------------------- Version 5.41 Major Release: Bugs Fixed Fixed Lookup|Login in where form input text fields were not escaped. Fixed Products_Viewed command. Was not returning 1st viewed item on pages other than the product page. Fixed the error message returned from category_children when the category was not found. Fixed BasketButtons|continue_lastcat no longer displays if the last basket item is not in a category. Fixed Unscopped variables in licensing system. Corrected and updated the documentation for the BasketCombined command. Event_Timer documentation updated. SelectState: Corrected provence code for Nova Scotia. Updated: All Toolbelt commands that use sorting now internally use Radix Sort. Updated: The Right(string) function now uses a more stable routine when searching for a string. Updated: Query command documentation. Query command now correctly processes all valid SQL queries including: INSERT UPDATE, DROP Updated: Category_Products command documentation. Fixed Cattree_Expanded to ensure database view is closed in all cases. Version 5.41 New Features to existing commands: The Cattree_Expanded item now recognizes non linked Header Categories: Using special category codes _spacerN where N is a unique number or character. No link will be created for these categories and you can add html and css within the category name. For example, MivaScript.com uses Category Code: _spacer1, Category Name:  

MS Basics

to add a separator between the sections. Cattree_Expanded parameter ul_id: now accepts a a comma delimited string applied to the first
    tag containing the id and class attributes. Example 1: 'cssmenu', results in
      . Example 2: 'vmenu,clear floatleft' results in
        Example 3: ',mymenu' results in
          All internal sorting now use a faster more stable Radix sort. See Array_Sort below. This command now uses a Radix sort. Version 5.41 Major Release: New functions Name2Code(l.all_settings:product:name): Converts a product name, or any string, into a format usable within a URL. StateList_Load_All(l.all_settings:states): Loads all US states into the array, in this case l.all_settings:states. Returns the number of states. FinalIndexOf(target, search) Returns the position, from the left, of the LAST matching search string in target. GettokenLast(target, search) Returns the last token string in a delimited string. Time2Seconds(time_str) converts a time string to seconds. Given hh:mm:ss returns seconds from midnight using this formula ((hh * 3600) + (mm * 60) + (ss)) Version 5.41 Major Release: All features from 5.407a - 5.408 fully implimented and documented. New comamnds These two command allow you to index and search static files on your website. Based on the MivaScript dir() function except it lets you filter by file extensions. Based on MivaScript dir() function except also loads sub directories and lets you filter by file extension. Empties the shopping basket. New sort command will sort simple array and complex Merchant arrays by any field. Depreciated. This command now uses a Radix sort. Previously Arrays could only contain alpha numeric numbers and the underscore. See the Array_Sort command for a more flexable sort. Updated. Now search complex SORTED arrays by member/field as well as searching simple arrays. Version 5.407k Form_Radio outputs a complete set of dynamic HTML radio buttons when given a comma delimited list. If the name variable value is set when called, the corresponding radio button is selected. Form_Select outputs a complete, dynamic HTML