Script not accepting empty line

Brian Yennie briany at qldlearning.com
Wed May 26 23:41:08 EDT 2004


Jeremy,

The only thing I can think of is that maybe your adding of data is 
changing line numbers. Do you ever put more than one line worth of data 
into that empty line? If so, that would throw off the count and give 
you confusing results...

HTH

> on Add_New
> repeat with x = 1 to 10
> if line x of variable is empty then
> Add some data to the line here
> end repeat
> end Add_New
>
> This returns true, and is the exact line (minus the if) from the above 
> code!??
> answer (line x of variable is empty)



More information about the Use-livecode mailing list