to check if a %filename is a directory use
>> dir? %mails
== true
>> dir? %mails/
== true
>> dir? %nox ;non-existent
== false
>> dir? %nox/
== false
what is blablabla? it has to end with "/", then it works.
there is
>> dirize %filename
== %filename/
to help.
volker
[EMAIL PROTECTED] wrote o
Gee, there is no wonder why my stuff dont run the first time... What you shown
actually works, the to-file as I indicated is useless, since you already specified
the filename as a file. Anyways here is my scribbles for code that demonstrates
your doing the right thing:
rebol []
forever [
fil
that did the trick duh again...
At 03:44 PM 9/6/00 -0700, you wrote:
>I suspect:
>
>found: find directory filename
>
>should be:
>
>found: find directory to-file filename
>
>
>[EMAIL PROTECTED] wrote:
>
> > I am writing some code which takes user input in a form and then checks to
> > see if the
I suspect:
found: find directory filename
should be:
found: find directory to-file filename
[EMAIL PROTECTED] wrote:
> I am writing some code which takes user input in a form and then checks to
> see if the user input is a directory name or not.
>
> Now on Win98 in Rebol console, it works fi