7.5

Table Of Contents
Choose: To:
Color
Launch the Color Picker and select a color to include in the expression. When you exit the Color Picker, the
CMYK values for the color appear in the expression.
Style
Display a menu of the styles defined in the document and choose the name of a style to add to the expression.
PlanetPress Design adds the style as a variable of type string.
Global Con-
dition
Display a menu of the global conditions available in this document, and choose one of those functions to include
in the expression.
Global Var-
iable
Display a menu of the different types of global variables defined in the document (integer, Boolean, string,...),
and choose a global variable to add to the expression.
System Var-
iable
Display a menu of the different types of system variables (integer, Boolean, string,...), and choose a system var-
iable to add to the expression.
Local Var-
iable
Display a menu of the different types of local variables defined in the object (integer, Boolean, string,...), and
choose a local variable to add to the expression. This menu item is available only when the object contains local
variables.
Global Func-
tion
Display a menu of the global functions available in this document, and choose one of those functions to include in
the expression.
Integer
Display a menu of the integer functions available in PlanetPress Talk, and choose one of those functions to
include in the expression.
Measure
Display a menu of the measure functions available in PlanetPress Talk, and choose one of those functions to
include in the expression.
String
Display a menu of the string functions available in PlanetPress Talk, and choose one of those functions to include
in the expression.
Boolean
Display a menu of the Boolean functions available in PlanetPress Talk, and choose one of those functions to
include in the expression.
Custom Data
Selection
CRLF
Add a new line to the Custom data selection. This menu item is available only when you are defining a Custom
data selection.
To enter a PlanetPress Talk expression in a text box:
1. Enter the equals sign (=) in the text box.
2. Construct the PlanetPress Talk expression using one or more of the following methods.
l Type directly in the text box. Note that if you want to use an apostrophe (‘) or a backslash (\) in a string, you
must precede it by a backslash. For example: =if(@(1,1,4) = 'ABCD', 'Don\'t forget your alphabet' ,
'Now you know your A:\\, B:\\, C:\\!')
l Click in the text box at the position at which you want to insert a variable, function, or data selection, then right-
click and use the menu to choose the item you want to insert. PlanetPress Design inserts the chosen item in the
text box. Note that if you did not enter an equals sign (=) as the first character of the text box, and this is the
first item you are adding from the right-click menu, PlanetPress Design automatically inserts an equals sign in
front of the item.
l Highlight a section of the expression entered to date, and then right-click and choose a function from the menu.
The function appears in the text box, with the highlighted section of the expression as its argument. In this case,
you must be careful that the content of the highlighted section is in fact a valid argument for that function. If nec-
essary, consult the PlanetPress Talk Language Reference for the function in question. Note that if you
use a data selection to retrieve Arabic text, you must nest your data selection in a maputf8 () command. For
example:
maputf8( @(21,10,28) )
l PlanetPress Design reports any errors in the expression in the Status area of the dialog box that contains it. If
you attempt to close the dialog box that contains it, PlanetPress Design returns the focus to the text box. You
must correct the error before you can close the dialog box.
PlanetPress Talk
©2010 Objectif Lune Inc - 200 -