Zeus Productions Banner

Zeus Tech Note
Lingo Error Messages

(This document last revised August 10, 1997)

Copyright © 1996-1999. Zeus Productions. All Rights Reserved.
Written by Bruce A. Epstein

Here are some of the most common Lingo Error messages, and possible solutions.

See also: Lingo in a Nutshell - Addenda to Appendix E

Syntax Error

This error indicates that Director expected a different form of your Lingo command, or different punctuation or that your grammar somehow confused Director.

Frame Not Defined

This error indicates that you have specified a frame that does not exist. For example, a label that is not present.

Handler not defined

This error indicates that you have attempted to call a Lingo handler which does not exist, or you are performing a list operation on a variable that is not a list!

The error dialog shoud indicate which handler name it could not find. Once you have determined which handler it could not find, determine why.

If you are calling a built-in Lingo function:

If you are calling a user-defined Lingo handler:


	puppet sound "mySound"


	puppetSound "mySound"

One parameter expected

This error indicates that you are specifying the wrong number of parameters for a Lingo command or function. Verify the syntax in the Lingo Dictionary. You may have supplied too many or too few parameters. In some cases you can use a dummy parameter, such as EMPTY or 0, as a place holder for a parameter




	alert "Hello"

	alert EMPTY

String expected

This error indicates that the Lingo command or function expects you to specify a string parameter and you are specifying something else, such as an integer. The error message should include additional information such as a number (in which case you specified an integer instead of a string), a "<void>" in which case the variable you used has not been assigned any value and is therefor "void".

You can force a type conversion by using the string() function.

If you are specifying a variable as the parameter, check the variable's value in the debugger, or by including a "put" statement in your script prior to where the error occurs.

If the variable you are using is a parameter that is being passed in , verify the function call arguments in the calling routine.

Verify the order and nature of the parameters in the Lingo Dictionary. You may have supplied too many or too few parameters.


	alert 7


  alert string(7)

Expected THEN

This error indicates that Lingo is confused by your syntax. Most likely, you have used an "IF" statement but forgot to include the corresponding "THEN" keyword, such as:


	if x = 5 

  		alert "Hooray"

	end if


	if x = 5 THEN

  		alert "Hooray"

	end if

...more to come...

Home (Spotlight) | Table of Contents | Links | Contact Info

Place an Order | Products for Sale | Licensing | Downloads

TechNotes | FAQs | E-Mail Zeus | GuestBook | Glossary

[End of Page]

Copyright © 1996-1997. Zeus Productions. All Rights Reserved.