7.0

Table Of Contents
2. Construct the PlanetPress Talk expression using one or more of the following methods.
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:
show( 'Don\'t miss this offer!' )
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.
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 necessary, 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) )
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.
Related topics:
Variables (Page 278)
Use the PlanetPress Talk Properties (Page 282)
Add a PlanetPress Talk Object (Page 280)
Insert PlanetPress Talk Code Before or After Individual Paragraphs (Page 131)
18.2.3 PlanetPress Supports Global Variables in the Global Function Library Manager
To view global variables in the Global Function Library Manager:
In the PlanetPress main menu, choose Tools | Application | Global Function Library Manager.
In the Global functions in the current document column, global variables are sorted first followed by global
functions in alphabetical order. For each global variable, the Global Function Library Manager contains variable
names, data types, and default values. In the Libraries column, libraries are listed in alphabetical order.
18.2.4 Use the PlanetPress Talk Properties
To enter code directly:
Type the code in the Code area.
Conditions - Detailed Directions
Objectif Lune Inc. © 2009 282