Hi Patrick,

p> But what if these came as strings

>>> test: ["http://www.rebol.net"; "index.html"]
p> == ["http://www.rebol.net"; "index.html"]
>>> url? first test
p> == false
>>> file? second test
p> == false

p> In my case, I have to decide between url and file. How can i do?

How about this?

>> url? load "http://www.rebol.net";
== true
>> url? load "index.html"
== false

OK, so this gives you a choice of URL or not-URL, but it still might
work. :)

-- Gregg                         

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to