On 5/4/2016 2:47 PM, Ludovic THEBAULT wrote:
> repeat with i=1 to 5
>    put 10 + i into tarray[i][v]
> end repeat
> put min(tarray[v])

You problem is with the second index on the array.

  repeat with i=1 to 5
    put 10 + i into tarray[i]
  end repeat
  put min(tarray)

works fine.

Or

  repeat with i=1 to 5
    put 10 + i into tarray[v][i]
  end repeat
  put min(tarray[v])

would work for the same value of 'v'

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to