HyperWorks Desktop

*BeginInterpreter()

Indicates the beginning of an interpreter block.

*BeginInterpreter()

Indicates the beginning of an interpreter block.

Previous topic Next topic No expanding text in this topic  

*BeginInterpreter()

Indicates the beginning of an interpreter block.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*BeginInterpreter(interpreter)

Argument

Name

Description

 

interpreter

The interpreter to use to execute this block.  Currently only Tcl is supported.

Example

*BeginInterpreter("tcl")

   hwi OpenStack

      hwi GetSessionHandle sess

      sess GetProjectHandle proj

      set npg [proj GetNumberOfPages]

      sess PostMessageToLog "File has $npg pages"

   hwi CloseStack

*EndInterpreter()

Application

Independent of clients.

Valid in session files, report templates, and preference files.

Comments

All text in the *BeginInterpreter() block is executed using the specified interpreter.  Interpreter blocks are executed immediately when loading a session file.  Interpreter blocks are executed immediately after instantiating a report template.

See also

 

*EndInterpreter()

List of Preference Statements