# Error [:error]

The Error command asynchronously sets the error mode for the text-to-speech system. This command is useful for debugging an application. When opening a log file using the [:error text] command, DECtalk Software checks to see if the system is in startup mode. If it is in one of the special text-to-speech modes (wave-file, log-file, or speech-to-memory) instead, this command fails.

In the default setting for DECtalk Software, the Error command speak option is turned on. This means DECtalk Software reports any in-line command errors that it detects. You should always set the [:error ignore] command to avoid this problem.

SYNTAX: | [:error XX]
ABBREVIATION: | [:erro XX]
ALTERNATE COMMAND: | none
OPTIONS: | text | Log all text to a file in the current directory called log.txt
| ignore | Ignore all errors
| speak | Speak the error string in the current command
PARAMETERS: | none |
DEFAULT: | Error string is spoken
EXAMPLES: | [:error speak]

Related topics