For the latest version of JMP Help, visit JMP.com/help.


Scripting Guide > Scripting Platforms > Send Messages to a Platform
Publication date: 04/30/2021

Send Messages to a Platform

Before you can send messages to a platform, you need to create a platform object that you can send the messages to. Use the Send operator (<<).

The following line keeps a reference to a Oneway platform in the JSL variable called oneObj:

oneObj = Oneway( Y( height ), X( age ) );

Then, add the Send operator to send the platform object a message. In this example, the message is to turn on the Unequal Variances report:

oneObj << Unequal Variances( 1 );

To see which messages can be sent to a specific object, do one of the following:

Use the autocomplete shortcut. On a new line, enter the object name, then the Send operator (<<), and press Ctrl and space (Windows) or Ctrl and Option and space (macOS). The following example shows the messages that you can send to the platform object oneObj on Windows:

oneObj << (Ctrl+space)

A list of messages appears. Click one to insert it.

Use the Show Properties () function. Specify the object in the parenthesis. The following example shows the messages that you can send to the platform object oneObj:

Show Properties (oneObj)

A list of messages appears in the log.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).