[exerb-eng:16] Re: $0 is missing path

Back to archive index

Yuya Kato yuya****@katod*****
Wed Sep 10 11:56:56 JST 2003


Hi,

On Tue, 9 Sep 2003 10:42:15 +0200
Ronald Pijnacker <rhp****@dse*****> wrote:

> However, when I tried to run my program, I noticed that $0 is not what
> it used to be.
please use Exerb.filepath method.

foo.rb:
  p(Exerb.filepath)

foo.rbc
  script	foo.rb

$ exerb.rb foo.rbc
$ ./foo.exe
"c:\\documents\\personal\\dev\\exerb\\exerb-dev\\tmp\\foo.exe"

====== Yuya Kato ======
E-Mail yuya****@katod*****
   Web http://nuance.cc/
i-mode http://nuance.cc/i/




More information about the exerb-english mailing list
Back to archive index