Script to find bottom of lowest field
Peter Bogdanoff
bogdanoff at me.com
Mon Apr 3 18:39:26 EDT 2017
Yes, max and an array.
Thanks Hermann!!
On Apr 3, 2017, at 2:58 PM, hh via use-livecode <use-livecode at lists.runrev.com> wrote:
> on mouseUp
> put 20+maxbottom()
> end mouseUp
>
> -- note: invisible or hidden fields are included
> function maxbottom
> repeat with i=1 to the num of fields of this card
> put the bottom of fld i of this card into b[i]
> end repeat
> return max(b)
> end maxbottom
>
>
> _______________________________________________
> 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