Looks like __FILE__ and $0 are the same.

Thanks for the clarification on __FILE__,

Matthew

On 1/11/07, Phrogz <gavin / refinery.com> wrote:
> Matthew Hailstone wrote:
> > ruby C:\scripts\helloworld.rb
> >
> > helloworld.rb:
> > ----------------------------------------------
> > # What can I put here to display the value C:\scripts\ or C:\scripts?
> > puts $0
> > puts _FILE_
>
> There should be two underscores on each side of __FILE__, as the
> original poster had it.
>
>
>