min() and array
Sannyasin Brahmanathaswami
brahma at hindu.org
Fri May 6 17:52:19 EDT 2016
Swasti Astu! Be Well
( from my mobile )
On Wed, May 4, 2016 at 12:46 PM -0700, "Paul Dupuis" <paul at researchware.com<mailto:paul at researchware.com>> wrote:
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 at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list