6.0

Table Of Contents
34
PlanetPress Talk Editor
2
The Object Preview is useful both for viewing the result of code execution up to the current stop point in
the code, and for examining error messages and debugging strings.
Code Execution in the Editor
The execution and debugging features of the Editor are available only when you launch the Editor from
the PlanetPress Talk properties of an object or page, or from the Data Selector. They are not available when
you launch the Editor from the PlanetPress Talk properties of a document or condition, when you are
editing the PlanetPress Talk before/after paragraph properties of a text object, or when you are creating
or editing a global function.
The execution feature lets you preview the result of the PlanetPress Talk code using the Preview window.
When you execute a program, the Preview window displays the result of the execution up to the current
stop point in the code.
A. Messages area
It is important to understand that when you execute a program in the Editor, only in the case of a user-
defined emulation is that program the only code that executes. When you execute a program from the
PlanetPress Talk properties of an object or page, the entire code for that object or page executes. This
ensures the execution respects any dependencies one section of code has on an earlier section of code.
Think of the entire code of an element as being composed of three parts:
1 PlanetPress Talk before code
When are the execution and debugging features of the Editor available? When I execute a program in the
Editor, what other code executes along with it?
A