TEXT and the TEXTEVAL System Variable

Summary

Entering -text at the Command prompt displays the same prompts as the TEXT command. Unlike the TEXT command, -TEXT checks the setting of the TEXTEVAL system variable. When the TEXTEVAL system variable is set to 1, AutoLISP expressions are evaluated when the -TEXT command ends. AutoLISP expressions that are entered using this method must begin with an exclamation point or left parenthesis.

The TEXT command checks the setting of the TEXTEVAL system variable setting only if it is used in a script or AutoLISP expression and all the TEXT command prompts are included within the script or AutoLISP expression.