Limit number of chars in a field > correction

Robert Presender rpresender at earthlink.net
Mon Nov 10 22:20:14 EST 2003


OOOPS.

Forgot to include that hold1 is put back in field 1.

Grrrrrrrrrrrrrr

On Monday, November 10, 2003, at 05:47 PM, Robert Presender wrote:
> Hi Glen,
> I use the following which is probably not the only way one can go.
> Select your own numbers.
>
> put fld 1 into hold1
>    get the num of chars of hold1
>    if it >1 and it < 44 then
>      repeat until the number of chars of hold1 = 44
>         end repeat
>    else
>      if the num of chars of hold1 > 44 then
>        put char 1 to 44 of hold1 into hold1
>      end if
>    end if
>



More information about the use-livecode mailing list