# LScript v2.0 Patch Release Notes

v2.0.1 | v2.0.2 |  |  |  |

###

    patch: v2.0.1       released: 07.01.00

      A condition where the same variable name is used both as an IPC queue slot
      reference and a local variable in an assignment caused the IPC mechanism to
      break.

            MyQueue$startFrame = startFrame;        // Bad Bob!  Bad!
      The foreach() iterator code was referencing the wrong variable when it
      initialized the iteration sequence, causing a crash.
      Corrected the layer-handling code to disregard reported layer limits
      in Modeler 6 (layers are created as they are referenced, and there is
      no practical limit).
      Corrected the layer-handling code to use Modeler's new unlimited layer
      management API calls.
      The new array code in LScript was not correctly generating new arrays
      upon reference.
      The creation of "robust" arrays was being completely bypassed, thus
      leaving declared multidimensional arrays holding only 'nil'.

###

    patch: v2.0.2       released: 07.15.00

      Corrected a bug in the renamesurface() function that renamed
      a surface back to itself.
      Corrected nextsurface() to accept a 'nil' argument to retrieve
      the first surface.
      The Replace regular expression contained some code from the
      initial development of LScript regular expressions that didn't
      work correctly with the final implementation.  A crash was the
      typical result when used.
      The regexp() function would only construct Search regular
      expressions.  It has been modified to generate Replace regular
      expressions if two separate arguments are provided for compiling.

      The first argument is the regular expression to match, the second
      argument is the string to be used to replace any sequence of
      characters that match.

            search = regexp("^PUB");                // create a Search

            replace = regexp("^PUB","static ");     // create a Replace
      The Position() CS function was not properly accepting LScript
      vector data types.
      LScript's byte-code compiler would become unstable, resulting
      in a crash or a hang, if multi-byte characters were embedded in
      the script.

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