A string.
One of the keywords :append
, :add
, :prepend
, :add-no-scroll
, :append-no-scroll
and :reset
.
The function send-message-to-java-host
sends a message to the Java host. It funcalls the function that was passed as the send-message-to-java-host argument to init-java-interface, or the default function, with message-string and where-keyword.
On Android init-java-interface is given a function that ends up calling the method com.lispworks.Manager.addMessage
.
The default function checks the keyword and then writes the string to cl:*terminal-io*
, which is probably good enough for testing purposes.
The intended meanings of where-keyword are:
Erase any existing text and replace it by the message.
Insert the message and a newline before any existing text.
Add the message after all existing text.
Like :add-no-scroll
, and scroll to the beginning of the new message.
Like :add-no-scroll
, plus add a following newline.
Like :append-no-scroll
, and scroll to the beginning of the new message.
LispWorks User Guide and Reference Manual - 20 Sep 2017