Al, your script is wrong. You are building the matrix in a wrong way. It is no bug! With your 'workaround' you point yourself to the lines where you did make the mistake. http://lists.runrev.com/pipermail/use-livecode/2017-July/240074.html