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 Error Messages

Error

Description

C1000: Usage:  ASLC <filename>

Call the Travelport Help Desk immediately.

C1010: Invalid Script Filename

The script name is incorrect.  Check for too many characters or invalid characters (no special characters allowed except the underscore), and check the format.  The size of the filename is limited to eight characters and must have a file extension of .ASL or .ASC.

C1020: Error Opening Script File

The system cannot locate the script.  The script does not exist or the script name is incorrect.  Check for too many or invalid characters (no special characters allowed except the underscore) and check the format. 

C1030: Error Opening Compiled File

This error occurs when the security restrictions are not met.

C1040: Error Opening Dialog File: xxx  (where xxx is the Dialog filename)

The system cannot find the Dialog file, or it cannot open the Dialog file.  Re-transfer the dialog box to the script.  If the error appears again, rebuild the dialog box.

C1050: Unknown problem xxx

(where xxx is the problem number)

Call the Travelport Help Desk.  Report the problem xxx.

C1060: Missing Closing Double Quote

The closing double quote (") is missing at the end of the text.

C1070: Number Greater Than 2 Billion

The maximum size of a number is two billion.  The number used has exceeded this maximum.

C1080: Invalid Date or Airdate Format

The date or airdate format is incorrect.  Acceptable date formats are 'MM/DD/YY' (e.g., 01/28/93), or 'DDMMM' (e.g., 15JUN).  Also, check the VARIABLES section of the script.  Date and Airdate fields should show either '00/00/00', '00XXX', or the literal as shown above.  If there are spaces instead of the appropriate characters, return to the dialog box field and remove them with the <Delete> key.  Save the dialog box, re-transfer, then recompile.

C1090: Invalid Token

Constants, variables, and commands are all considered tokens.  The Compiler is not able to recognize one of the components of the command.  This error displays when previous error messages have not been corrected.

C1100: Syntax Error

Check the format of the command (spelling, usage, comas, parens, etc.).

C1110: Expecting a Special Character

Check for a missing special character.  The following is a list of special characters:

()

Left and Right Parentheses

=

Assignment, Single Equal Sign

==

Equality, Double Equal Signs

>

Greater Than

<

Less Than

<>

Not Equal To

>=

Greater Than or Equal To

<=

Less Than or Equal To

+

Addition

-

Subtraction

*

Multiplication

/

Division

'

Single Quote (Used for Dates/Airdates)

"

Double Quote (Used for Text)

:

Colon (Used in CASE Statement)

,

Comma (Separates items in list of commands)

;

Semicolon (Reserved)

`

Grave accent or tick mark

C1120: Duplicate Variable

Two or more variables with the same name exist in the VARIABLES section of the script

C1130: Variable must be a Number Type

The use of this variable requires a number type.

C1140: Variable must be a Boolean Type

The use of this variable requires a boolean type, which is a value that may have only one of two conditions (e.g., True/False).

C1150: Variable must be an Airdate/Date Type

The use of this variable requires an airdate or date type.

C1160: Variables must be the Same Type

This expression requires the variables to be the same type.

C1170: Expression and Variable must be the Same Type

The result of the expression is not compatible with the variable receiving the assignment.

C1180: Expression must be a Boolean Type

The result of this expression must evaluate to True or False.

C1190: Invalid variable Type

The expression contains an invalid variable type.

C1200: Undeclared Variable

A variable that has been used cannot be found in the VARIABLES section of the script.  If it is declared, be certain the spelling of the variable matches.

C1210: Variable must be a Text Type

The use of this variable requires a text type.

C1220: Duplicate Paragraph Names.

Two or more paragraph names are the same.  Use different paragraph names.

C1230: Duplicate Subroutine Names

Two or more subroutine names are the same.  Use different subroutine names.

C1240: Too Many Dialog Parameters

The variables in the dialog box do not match the variables passed from the script in the DIALOG command.  This error is caused when there has been a change in the dialog box and the transfer to the script has not been repeated.

C1250: Too Few Dialog Parameters

The variables in the dialog box do not match the variables passed from the script in the DIALOG command.  This error is caused when there has been a change in the dialog box and the transfer to the script has not been repeated.

C1260: Dialog Box Variable must be the Same Type

Caused when there has been a change in the dialog box and the transfer has not been repeated, or when the variable has been declared as a different type.

C1270: Variables must be Airdate/Date or Number Types

The variables in the expression must both be airdate/date or both be numbers.`

C1290: Variable and literal must be the Same Type

Change the type of variable or literal.

C1310: Variable must be Airdate, Date or Text Type

The variable in the expression must be airdate, date, or text type.

Change the type of variable or literal.

C1320: Paragraph Not Found – xxx (where xxx is the paragraph name)

The system cannot find the paragraph name used in the GOTO statement.  Check the existence of and/or the spelling of the paragraph name.

C1330: Expecting a colon.

Insert colon in correct location.

C1340:Cannot Write Compiled Code...Terminating

This error occurs when security restrictions are not met or when disk space is not available.

C1350: Out of Memory...Terminating

The script is too complex or uses too many variables.  The recommended maximum number of variables is 64.

C1360: Invalid Variable Type of Duplicate Value in CASE Statement

The CASE statement contains a duplicate literal in the list of choices.

C1370: Missing ENDCASE in CASE Statement

Each CASE must have a corresponding ENDCASE that marks the logical end of the CASE structure.

C1380: Missing ENDIF in IF Statement

Each IF must have a corresponding ENDIF that marks the logical end of the IF structure.

C1390: Missing ENDWHILE in WHILE Statement

Each WHILE must have a corresponding ENDWHILE that marks the logical end of the WHILE looping structure.

C1400: Missing ENDFOR in FOR Statement

Each FOR must have a corresponding ENDFOR to mark the logical end of the FOR looping structure.

C1410: Missing UNTIL in REPEAT Statement

Each REPEAT must have a corresponding UNTIL that marks the logical end of the REPEAT looping structure.

C1420: Keys cannot be sent through a Send Command this version

Remove the embedded command from the SEND statement and recompile.

C1430: Use only numeric literal in an Insert command

 

Change the parameter of the INSERT command to a numeric literal.

C1440: This variable type does not support multiply or divide

Use a variable type that supports multiply and divide.

C1450: No Internal Variables Allowed in DIALOG Statements

Internal variables are not allowed in the dialog box.

C1460: Text Variable Not Allowed as Counter in FOR Statement

The counter variable in the FOR statement must be an airdate/date or a number.

C1470: Invalid Script Name in CALL/CHAIN Statement

Check the spelling of the script name and the use of special characters other than the underscore.

C1480: Invalid Number Format

The format of the command must contain either all zeros (i.e., "0000"), or all zeros with one decimal (i.e., "00.0" or ".00").  However, the number format may not contain a trailing decimal (i.e., "000.")  or more than one decimal (i.e., "00.00.").

C1490: Unexpected EOF

The compiler is looking for an ENDS.  Unexpected EOF encountered.  Check the syntax of statements.

C1500: Too many errors

Cannot display all the errors.  One or more previous errors will cause this error.  Fix the previous errors first and recompile.  This error displays after 20 errors have occurred.

C1510: Positioning Coordinate is Missing or Invalid in xxx (where xxx is any type field)

An error occurred when trying to read the compiled script file.  Retrieve the dialog box and:

  1. Save again and recompile.
  2. If that doesn't work, build a new dialog box, save, and compile.
  3. If the problem still exists, call the Travelport Support Center.

C1520: Width or Height Parameter is Missing or Invalid in xxx (where xxx is COMBOBOX, LISTBOX, or VALIDBOX)

An error occurred when trying to read the compiled script file.  Retrieve the dialog box and:

  1. Save again and recompile.
  2. If that does not work, build a new dialog box, save, and compile.
  3. If the problem still exists, call the Travelport Support Center.

C1530: Color Parameter is Missing or Invalid in xxx (where xxx is any type field)

An error occurred when trying to read the compiled script file.  Retrieve the dialog box and:

  1. Save again and recompile.
  2. If that does not work, build a new dialog box, save, and compile.
  3. If the problem still exists, call the Travelport Support Center.

C1540: Entry Parameter Missing or Invalid in xxx (where xxx is an EDIT type or BOX type field)

An error occurred when trying to read the compiled script file.  Retrieve the dialog box and:

  1. Check the parameters of the function.
  2. Recompile.

C1550: Illegal instruction

The Script Compiler has encountered an unrecognizable instruction.  This should be an infrequent error.  Call the Travelport Support Center for assistance.

C1560: Keyword VARIABLES expected

VARIABLES section must be present in script.

C1570: Keyword ROUTINES expected

ROUTINES section must be present in script.  Verify that no reserved words have been used as variable names.

C1580: Expecting a variable name

Instruction requires a variable name.

C1590: Expecting an =

Equal sign is missing in variable declaration section or in assignment statement in script.

C1600: Expecting a RETURN

RETURN command expected at the end of a subroutine

C1610: END is missing

Each BEGIN statement must have a corresponding END.

C1620: THEN is missing

THEN is missing in an IF statement.

C1630: Expecting a )

Statement requires a right parenthesis.

C1640: Expecting a (

Statement requires a left parenthesis.

C1650: Expecting a comma

Statement requires a comma.

C1660: Command not supported this version

Compiler has identified an unsupported command from a previous version.  Manually correct the script or use the Convert function to convert the script.

C1670: ENDDIALOG missing

Dialog file is corrupted.  Open dialog file in Dialog Editor and resave or recreate dialog box. 

C1680: DIALOG header is missing in the dialog file

Dialog file is corrupted.  Open dialog file in Dialog Editor and resave or recreate dialog box. 

C1690: Compilation errors found in the dialog file

Dialog file is corrupted.  Open dialog file in Dialog Editor and resave or recreate dialog box. 

C1700: Invalid arithmetic

Check mathematical expression.

C1710: Expecting a text

Check statement for text in correct location.

C1720: Invalid attribute

Check statement's attribute.

C1730: Compilation aborted by user

Compilation did not complete.  File has been saved.  Select OK to verify the compilation has aborted.

C1740: Parameter must be Airdate, Date or Text Type

The parameter must be airdate, date, or text type.  Modify the parameter to an airdate, date, or text type.

C1750: Parameter must be a Text Type

The parameter must be a text type.  Modify the parameter to a text type.

C1760: Parameter must be a Number Type

The parameter must be a number type.  Modify the parameter to a number type.

C1770: Parameter must be an Airdate/Date Type

The parameter must be an airdate or date type.  Modify the parameter to an airdate or date type.

C1780: Parameter must be a dialog filename

The parameter must be a dialog filename.  Modify the parameter to a dialog filename.

C1790: Expecting a BEGIN

BEGIN statement missing from script source file.  Add a BEGIN statement.

C1800: Variable length should not be longer than 32 characters

A variable with more than 32 characters was found.  Shorten the variable name to less than 32 characters.

C1810: Text type is expected for variable <variable name>

The variable type is not the text type.  Activate the Dialog Box Editor and change the variable type to be consistent with the variable type declared in the script.

C1820: Number type is expected for variable <variable name>

The variable type is not the number type.  Activate the Dialog Box Editor and change the variable type to be consistent with the variable type declared in the script.

C1830: Date type is expected for variable <variable name>

The variable type is not the date type.  Activate the Dialog Box Editor and change the variable type to be consistent with the variable type declared in the script.

C1840: AirDate type is expected for variable <variable name>

The variable type is not the airdate type.  Activate the Dialog Box Editor and change the variable type to be consistent with the variable type declared in the script.

C1850: Invalid Access Rights for this Command

Must have ScriptPro Plus (value added option) enabled to use the command for Mail functions (i.e., MAILADDRESS, MAILDATE, MAILDELETE, MAILFIND, MAILLOGOFF, MAILLOGON, MAILREAD, MAILSAVE, MAILSEND, and MAILWAIT) or file I/O functions (i.e., CLOSE, COPY DEL, DISKSPACEFREE, EOF, FILESIZE, GETEMPFILE, GETTMPNBR, OPEN, PRINT, READ, RENAME, and WRITE).  Please contact the Travelport Support Center for further information.

CW001: Warning - Defined Variable is never used - <variable name>

There is a potential run-time error.  Variable <variable name> is defined but is never used.  This message may be ignored if the script writer is certain of the logic.  Delete unused variables.