New build of AfterGRASP is up for download:

http://www.aftergrasp.com/download/agsetup_20060209.exe

----------------------------------------------------------------------------
Thu, 09 Feb 2006

XMLLOAD no longer creates lots of single element arrays for single
text elements.



Bug in SET PRINTNAME fixed, it was leaving the printname on the stack.


STREVAL is now supported, but only for a very limited subset of features
for now.  The only two features supported for now are variables using
'@' and measurements.

  result = streval("22in")
  testvar = goodbye
  result = streval("@testvar")     ; gives "goodbye"
  testvar = varname
  varname = hello
  result = streval("@@testvar")    ; gives "hello"



Two new commands LOCALUNDER and LOCALUNDERS. Work exactly like LOCAL and
LOCALS except they create a variable that is local to the calling function.
For example:

   test1
   if !vardef(goodbye)
      messagebox "goodbye undefined"
   endif
   exitnow

test1:
   test2
   messagebox goodbye1 @goodbye
   return

test2:
   localunder goodbye hello
   messagebox goodbye2 @goodbye
   return




The ARRAYATTRIB command is changed to display the indexes for attributes
in an array.

The ARRAYINDEX command now only shows indexes for an array where the
array's element has a valid value. It does not display indexes for
attributes in an array.

For example:

   set test{1} a
   set test{2} b
   set test{3} c
   set test[1] a
   set test[4] b
   textln strlist(arrayindex(test)) ; Displays "1 4"
   textln strlist(arrayattrib(test)) ; Displays "1 2 3"



Using INC or DEC where the variable contains a string with digits in it
will no longer force the string to be converted into a number.
For example:

        value = item3
        for 5
; Displays "item3 item5 item7 item9 item11"
                text @value$" "
                inc value 2
        next

For decrementing or negative values, the prefix 999 is
prepended to the numerical part.

        value = item3box
        for 4
; Displays "item3box item0box item9997box item9994box"
                text @value$" "
                inc value -3
        next


----------------------------------------------------------------------------

Reply via email to