Problem with argv0 (newbie question)



Hi,

I am trying to print the name of the current executable using the
following statment:

puts "\n $argv0"

However, I get the following error message & the program exits:

can't read "argv0": no such variable

I tried using "global argv0" at the beginning of the proc too but that
doesn't help.

Is there anything else that I should watch out for?

Thanks,
Ashok

.