Best way to check if a Field is a label?

Peter W A Wood peterwawood at gmail.com
Wed Jul 8 09:26:56 EDT 2015


That’s a good tip. Thanks Mike

> On 8 Jul 2015, at 21:11, Mike Bonner <bonnmike at gmail.com> wrote:
> 
> I name my fields with a trailing L or F which lets you do the same thing as
> using a custom prop.
> 
>   repeat with i = 1 to the number of fields of this card
>      if (the last char of the short name of field i is "F") then put
> random(1525434) into field i
>   end repeat

Regards

Peter





More information about the use-livecode mailing list