Lingo Dictionary > O-R > put |  |

put

Syntax

    put expression

Description

Command; evaluates the expression specified by `expression` and displays the result in the Message window. This command can be used as a debugging tool by tracking the values of variables as a movie plays.

The Director player for Java displays the message from the `put` command in the browser's Java console window. Access to the console window depends on the browser.

Example

This statement displays the time in the Message window:

    put the time
    -- "9:10 AM"

Example

This statement displays the value assigned to the variable `bid` in the Message window:

    put bid

`-- "Johnson"`

See also

`put...after`, `put...before`, `put...into`