The predefined print( ) function displays attribute contents, variable contents, and other strings in the Script Editor. This is often helpful for debugging an expression. See print for more details.
For a non-particle expression consisting of only print statements, Evaluation must be set to Always in the Expression Editor for the expression to execute.