7.4

Table Of Contents
Syntax
show( text )
showcenter( text )
showright( text )
Argument
text
String value to be displayed.
Code Sample Example
This example illustrates the difference between all three variations of using the SHOW command.
Example
margin(3,1)
showright('This line is to the left of the margin')
crlf()
showcenter('This line is centered on the margin')
crlf()
show('This line is to the right of the margin')
Styles
SetStyle (procedure)
Sets the style to be used for all subsequent commands. The specified style must already exist in the document.
SetStyle() supercedes the SetFont() command. Although PlanetPress Talk still recognizes SetFont(), this behavior is
unlikely to continue in future versions, and it is therefore highly recommended that you use the SetStyle() command in your
scripts.
Syntax
setstyle( stylename )
Argument
stylename
Name of the style to use for all subsequent commands. The name of the style must be preceded by an ampersand. You can ref-
erence the bold, italic, or underlined versions of a font by appending the appropriate letter or letters to the name of the style.
Append .b for the bold version, .i for the italic version, .bi for the bold italic version, and .u for the underlined version.
Code Sample Example
This example displays a line of text using two different existing styles called Blackfont and Bluefont.
Example
©2010 Objectif Lune Inc - 587 -