Problem when filling first line of a field with a text variable

Jim Ault JimAultWins at yahoo.com
Tue Jul 10 13:25:40 EDT 2007


On 7/10/07 8:22 AM, "André.Bisseret" <Andre.Bisseret at inria.fr> wrote:
> Nevertheless, I did not waste my time completely : when searching my
> error, I tried by chance to put my var in line 0 of the field and I
> discovered that actually, a field has a line 0 !!!!
> In fact,  it seems to be quasi synonymous of line 1

--    The use of 
line 0 of fld "textLines"
--    is the same as
before line 1 of fld "textLines"
--    or 
before fld "textLines"

thus

put "preamble" into line 0 of fld "textLines"
put cr into line 0 of fld "textLines"
put "this is a separate line now" before fld "textLines"
put "NOTE:" before line 1 of fld "textLines"

Jim Ault
Las Vegas 





More information about the Use-livecode mailing list