Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] url or file ?

From: patrick:philipot:laposte at: 4-Oct-2003 18:08

Hi List, I already know how to test url and file.
>> url? http://www.rebol.net
== true
>> file? %index.html
== true But what if these came as strings
>> test: ["http://www.rebol.net" "index.html"]
== ["http://www.rebol.net" "index.html"]
>> url? first test
== false
>> file? second test
== false In my case, I have to decide between url and file. How can i do? Regards Patrick