G7: New for 2013

Work in 2013 provided a few new features, improvements to existing features, and a variety of bug fixes. The most important improvements and new capabilities provided in the G7 software are these:

  • Improved Documentation: The G7 documentation was revised heavily in 2012 and has been updated in 2013, with new Help files, Users’ Guide, Reference Manual, Tutorial, and other documentation. Companion documents in HTML and PDF formats also were updated.

  • Interface Improvements:

    1. Main menu items were added to load in a web browser the software documentation presented on Inforum web site and to assist the user when checking for software updates.

    2. The Editor F1 (Help) key replaces the nonstandard F2 shortcut for the launch of Help files.

    3. The G7 icon and images on the splash, configuration, and about dialogs pages was updated. The configuration dialog and About window were revised and improved.

    4. Graph Series: Add right-click menu item in the Editor to display data in a graph for a selected series name or algebraic expression.

  • Strings, Functions, and Keywords:

    1. Redefined xl name ws <name> so that the name is optional. If not specified, then the existing worksheet name can be recovered with the %xls keyword.

    2. Modified %xlcol() to take either a column number and return equivalent column letters or to take column letters and return the equivalent number.

    3. Added a -l rootname option to the listnames routines to store the series names as strings, where the string names are <root><integer> and the string definitions are the series names.

    4. Added %nseries(bank_letter) function to return the number of series in the specified bank.

    5. Replaced the %{…} routine with one that does proper Parentheses/Multiplication/Division/Addition/Subtraction integer arithmetic. Other %-routines and recursion may be employed within the function.

    6. Added %exists(series_name) to return 1 (0) when the series is found (not found). The exists(<series_name>) routine provided in the if() command now is depricated.

    7. Added %sexists(string_name) to return 1 (0) when the string is found (not found).

  • Numerical Routines:

    1. Added @sign() that returns +1 (-1) if the argument is non-negative (negative).

    2. Added %fabs(), %log() , %exp() scripting functions that accept a scalar argument.

    3. Added a tolerance option to the set of ras commands .

  • Miscellaneous Improvements:

    1. Added wsreset command to allow the workspace to be cleared and a new workspace established with new parameters and possibly in a new location.

    2. Allow “update” as a command type for the save command; previously it was the default option but could not be specified manually.

    3. Rewrote routines that handle the scripts that specify sector groups and @-functions. This corrects garbled printing of equations by the regression commands, equation saving with the save command, and title printing for the () shortcut in graph command.

    4. In the resector routines, increase the maximum number of sectors from 600 to 1500.

    5. Several internal codes were respecified to allow use of character sets with 8-bit extended ASCII representations.

    6. Added sanity checks for the dates in g.cfg files.

  • An Abridged Listing of Bug Fixes:

    1. Prevent overflow or run-on words when printing long series names with the listnames commands.

    2. Fixed a problem with focus with the “file-execute” box on the main window.

    3. Fixed problem in the vc command that caused incorrect date alignment between Vam banks and packed matrix files.

    4. Fixed += in f and vf to handle missing values on both the LHS and RHS.

    5. Added check to @chain routines to ensure that the specified base date frequecy matches that of the fdates.

    6. Force destruction of existing show window before a new one may be created; this finally should fix persistent bugs. Improved the show window save functions though problems remain.

    7. Fixed crash in Editor pop-up menu Type Series command when multiple lines were selected.

    8. Fixed problem with expansion of %linelen.

    9. Fixed problem with printing of settings with the line command.

    10. In ipch command, switch from scientific notation to standard notation for printed coefficients.

    11. In wsdump, fixed problem when printing a series with only missing values, and fixed problem with dates that could lead to incomplete printing of data, and eliminate automatic zapping after dumping data.

    12. Attempt to fix bug in function command where an existing argument list could be lost, and thus the attempt to restore it fails after the function was executed with an alternative list.

    13. In findvec, ensure that the Vam file is open before attempting to search it.

    14. Fixed f command to allow “f x{2008-%fdates2} = y”, where previously the %fdates2 keyword was not processed properly.

    15. Fixed problem in %strcmp() and related functions where the return value was not set properly.

    16. Reworked find() to do a proper Vam-file search when called by G7 routines like %exists().

    17. Attempted to fix a problem with listnames command where the G bank associated with a Vam file was not searched.

Improvements also were made to companion software, including the table-making program Compare and the model-building program IdBuild.

  • Compare:

    1. Updated the chain-weighting routine to incorporate G7 updates.

    2. Added many new printer control (pc) commmands and added documentation for all. Added documentation for the printing of these files.

    3. Improved the appearance of screen formatting.

    4. When performing zero/zero or zero/nonzero calculations, set the result to zero instead of a missing value.

  • IdBuild:

    1. Increased buffer sizes for bank paths/names. Fixed problem with bank names that are surrounded by quotes.

    2. Fixed memory leaks and other problems. Merged code with non-optimizing version of IdBuild to incorporate recent improvements to that version. Improved check for divide-by-zero problems. Fixed problem with @csum() groups.

    3. Changed byte alignment to byte from quad word to ensure consistency with other programs.

    4. Added code to initialize vectors and matrices to zero to eliminate problems with garbage in unused portions of series (i.e. dates beyond fdates ranges).

    5. Improved the appearance of screen formatting.