How to print the name of an expect script

expect

In bash, I can do something like this:

echo "The name of this script is $0"

Is there a way to do something similar in expect?

Best Answer

argv0 is a global variable that is defined to be the name of the script.

This question is answered in the comments above by @Runcible . Just adding this answer so this question shows up as answered correctly.