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

Ralf Bitter rabit at
Tue Jul 10 10:32:03 EDT 2007


did a test with two stacks as in your description
and it worked as expected, line 1 was not empty.

Mac OS 10.4.10, Rev 2.8.1 471

Ralf Bitter

On 10. Jul 2007, at 11:56, André.Bisseret wrote:

> Hi,
> After hours of unsuccessfull trials to understand where I am making  
> a mistake I make up my mind to ask for help
> If I summarize my script :
> I have two stacks : stackOne and stackTwo
> In the script of a button in stackOne
> I put a text of several lines in a variable, say, thisText
> then the script continues with :
> go to stackTwo --where I have a field “thisField”
> put thisText -- to confirm the text is in the variable
> put thisText into line 1 of fld “thisField”
> Invariably, I get the full text thisText in the message box – as  
> expected
> but, in fld “thisField” , unexpectedly, the first line of thisText  
> is not written in the fld thisField ; the first line of thisField  
> is empty,
> only the following lines (2, 3 etc.) are visible

More information about the Use-livecode mailing list