ARRAYINDEX and ARRAYATTRIB on non arrays

0 views
Skip to first unread message

John Bridges

unread,
Feb 27, 2008, 9:38:45 AM2/27/08
to after...@googlegroups.com
New build of AfterGRASP is up for download:

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

----------------------------------------------------------------------------
Wed, 27 February 2008

Bug in modular compiler not linking because of FLOAT function, and
new alpha blending code, fixed.

Flaw in AGCOMP compiler designed which would combine CALL and POP
commands into a single token is fixed. This could cause subroutines
which return a value to have that value accumulate on the parameter
stack, or other odd bugs. The interpreter still supports the
CALLPOP token to allow older compiled scripts to run, but AGCOMP
no longer generates it.

Fixed Bug in ARRAYINDEX and ARRAYATTRIB, when used on a non-array variable
it was providing the variable contents instead of an no result (empty).

Example of the bug:

drawclear white
hello = 1
for n inarray array(arrayindex(hello))
messagebox "ERROR"
next
exitnow

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

Reply all
Reply to author
Forward
0 new messages