ScriptPro Editor

This topic is for use by scriptwriters who are using ScriptPro Editor to create custom scripts for their agencies.

Agents can go to Using ScriptPro Scripts for more information about using custom or standard scripts within Travelport Smartpoint.

 

Compiler Results Window 

The Compiler Results window displays all errors found during the compile of the current script.  This window displays automatically when the compile process has started or can be redisplayed by selecting View Errors from the Compile menu.  When several pages of error messages are received after compiling a script, the window allows scrolling through the list.  Errors should be addressed from the top down since errors encountered early in the script can cause subsequent errors. Compiling after correcting each error is the preferred method, since some errors are a result of the previous error.

All Compiler error messages begin with the letter C followed by a number (see Compiler Error Messages).  The Compiler Results displays the line number of the error.

Select error line number

Select the script line number referenced in the Compiler Results window by one of the following methods:

  • In the Compiler Results window, click the line referencing an error. This should take your cursor to the line in your source code.
  • From the ScriptPro Editor menu, select Go To from the Search menu to access the line in the script where the error displays.

View errors

By pressing <Ctrl+E>, the Error File for that script may be viewed repeatedly until the script is compiled again or the compile results in no errors and the script is moved to production.

<Ctrl+R> will toggle between the Compiler Results Window and the Code screen.

Compiler Results Window

An example of the Compiler Results window is shown below.

Compiler Results elements

The table below describes the elements numbered in the graphic above.

Number

Element

Description

1

File Name

The file where the error was found.

2

Error line number

The line number in the script where the error was found.

3

Error identification code

The code that identifies the error. See Error Messages for a detailed description of the error.

4

Error description

A brief description of the error found.