How do I Create a Custom Property, part 19,214,651.5 B23

Klaus Major klaus at major-k.de
Thu Apr 22 11:02:51 EDT 2004


Hi Mark,

> Dave, if we see the return character as a divider or separator rather 
> than a terminator,
> it all makes a bit more sense, I think. The line count will always be 
> the number of return
> characters + 1, as it is assumed that there is data both before and 
> after a return character .

put "1" & CR & "2" & CR & "3" into fld 1

-> 3 lines, but only 2 CRs...

But how comes, what i explained yesterday?

> This is in fld 1 (the result of your script)
>
> line1
> line2
> line3
> ...an empty line 4!!!

But the linecount returns 3?!

> Now, if i:
> "set the yadda of this cd to fld 1"
>
> i have a customproperty "yadda" with
> 4 (FOUR) lines and the last one is empty, just like the field...
>
> But if i:
> "set the customkeys of this cd to fld 1"
>
> i will end with 3 "THREE" customkeys and NOT with an empty one as I 
> really exspected!!!
> ...
> Another test in that field, now set to listbehaviour!
>
> I can select the empty line 4!
>
> put the num of lines of fld 1 -> 3
>
> DRUMM ROLLLLLLLLL:
>
> delete line 4 of fld 1
>
> Now i cannot select the empty line 4 anymore, since it is GONE!!!???
>
> Can anyone please give a clue about this inconsistency (is it?)

This is still puzzling me :-)



Regards

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list