print

print( message )

Prints the given message to the Applications messages window in the standard Application messages colour and saves the error into the database Events table automatically associated with the current session, trial and phase (if applicable).

Arguments

message – The message that will be printed to the application messages window

Returns

The message that was passed to the function.

Example

Simply prints an error message to the application messages window:


print(“Hello world”)