# LScript v2.1 Patch Release Notes

v2.1.1 | v2.1.2 |  |  |  |

###

    patch: v2.1.1       released: 01.10.2001

      The PART option to selpolygon() was not implemented correctly, making such
      selection types inaccessible from a Modeler script.
      The list box control was not displaying entries correctly due to the way LScript
      was handling the Panels calling sequence for that control.  Although this has been
      corrected, the list box control continues to have these display problems in
      non-modal windows.
      Lingering type settings in the 'this' container were causing illegal accesses
      under certain script conditions.
      Several requester functions were not non-modal aware.
      An adjustment made to an internal enumeration of object types inadvertently
      broke many instances of object type checking, resulting in error messages
      about invalid methods or data members.
      Modeler provides a unique means of identifying an unsaved object, and
      the Mesh methods in Modeler LScript were not handling this properly.
      The next() method of Modeler's Mesh Object Agent was not dealing correctly
      with the end-of-list condition.
      Array duplication, long broken in LScript, has now been corrected.  Assigned
      arrays, either to other arrays as sub-arrays, or simply to new containers, are
      now true duplicates instead of multiple containers pointing at the same instance.
      Changes made to an array copy now no longer effect the original.
      The Antialiasing() CS function was not properly allowing an optional lack of
      arguments (the equivalent of issuing Antialiasing(0)).
      The new Object Agent generation functions (Scene(), Mesh(), etc.) were missing
      from the run-time environment.
      The asAsc() method, introduced in LScript v2.0, was not performing the correct
      function.  It was returning an integer value extrapolated from its character
      data, instead of properly generating a character value from an integer value.
      This has been corrected, and its previously incorrect functionality has been
      moved to a new asBin() method that will return the integer ASCII value of a
      character value provided to it.
      The traditional syntax used to declare multidimensional arrays--that of
      one or more index values enclosed in brackets:

            var  array[x][y][z];

      was broken with the release of LScript v2.1.  This has been corrected
      and should once again function properly.

      The alternate form continues to function, however, and may be used if needed
      as a workaround:

            var  array[x,y,z];

###

    patch: v2.1.2       released: (unreleased)

      Containers holding arrays were not being cleared completely when new values
      were assigned, leaving phantom pointers to the reclaimed arrays.
      Array duplication included an additional memory lock that prevented
      subsequent reclamation.  This caused memory consumption during a script's
      execution when arrays were frequently created and destroyed.
      Modeler's new() command dropped it's integer parameter with the release
      of LightWave [6].  LScript has been corrected to adhere to this.
      A problem with the logic flow in object processing caused certain data
      members (like 'totallayers') to be unrecognized.
      The Tab control created with ctltab() was not receiving the correct
      data type, causing a crash of the application when tabs are altered.

LScript v2.1.2 Archives
(contains all plug-ins)
Intel | SGI | Sun | Macintosh | Alpha