Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Apple Guide Complete / Part 4 - Scripting Guide Files
Chapter 10 - Guide Script Command Reference / Guide Script Command Descriptions
/ Defining and Using Text Blocks


<Define Text Block>

You can use the <Define Text Block> command to mark the beginning of a named block of text.

<Define Text Block> textBlockName 
textBlockName
A string assigning the name of this text block. Each text block name must be unique from all other text block names that you define.
DESCRIPTION
The <Define Text Block> command defines the beginning of a named block of text. You indicate the end of the text block using the <End Text Block> command. After defining a text block with the <Define Text Block> and <End Text Block> commands, you can later reference this text block in those commands that accept named text blocks as parameters. For example, the <Howdy> command requires a named text block as a parameter.

EXAMPLES
#define a text block and give it a name
<Define Text Block> "Howdy Text"
   To start, click Topics, Index, or Look For.

   Topics shows general categories, \xAC
   and Index lists key words. \xAC
   Look For lets you search for help \xAC
   according to key words you type.

   To learn basic skills, choose Tutorial from the ? menu.
<End Text Block>

#specify name of the text block that defines the Howdy text
<Howdy> "Howdy Text"
SEE ALSO
For information on the <Howdy> command, see page 10-24. The <End Text Block> command is described next.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
12 JUL 1996