Hi Alex,

Thanks. I just don't understand why this script ...

(html NIL "-index-" "@lib.css" NIL
        (<h1> NIL (ht:Prin (car (file)))) )

gives me a page that says "doc//", with two slashes at the end instead of
just one ...?

/Jon

> Hi Jon,
>
>> get a listing of what's in the doc/ folder where this default file is?
>
> You could call (dir "doc") or (chdir "doc" (dir)).
>
> If you don't want to hard-code the path, you can also call (file) in the
> script, it returns the path to the current file in the CAR.
>
> ?? Alex


-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to