如何附加到字段

How to append into field

如何将文本附加到文本字段中。我试过类似的东西:

on mouseUp
    append "Once again" into "field display"
end mouseUp

其中 "display" 是滚动字段。

谢谢。

尝试:

Put "hello" after field "display"

或者...

  put cr & "This is a new line of text." after field "display"

为什么?

"after" 完全是字面意思,实际上等同于“&”。

如果您想附加到特定行,并且由于您有一个滚动字段,这可能是您真正需要的:

在 fld "yourScrollingField".

的第 3 行之后放置 space & "Hello World"

还知道您可以:

将 space & "Hello World" 放在 fld "yourScrollingField" 第 3 行的第 3 个字之后。

检查字典中的所有三个块关键字,"before"、"into" 和 "after"。块表达式允许精确控制文本到字符级别。