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

file! url! are subset of datatype ... ?

 [1/4] from: anton::lexicon::net at: 12-Aug-2002 17:17

What datatype are file! and url! a subset of? Example: func [ input-file [file! url!] ][...] What can I replace [file! url!] with that will allow both a file! and url! to go through? [port!] ? But port? %afile ;== false Just wondering. Anton.

 [2/4] from: carl:cybercraft at: 12-Aug-2002 20:11

On 12-Aug-02, Anton wrote:
> What datatype are file! and url! > a subset of?
series! I don't know if there's any pseudotype more specific though.
> Example: > func [
<<quoted lines omitted: 7>>
> Just wondering. > Anton.
-- Carl Read

 [3/4] from: brett:codeconscious at: 12-Aug-2002 21:59

>> f: func[ x [any-string!]]["yep"] >> f %test.bin
== "yep"
>> f http://blah
== "yep"
>> f #test
== "yep"
>> f <test>
== "yep" But I suspect it is not quite what you want :^) Regards, Brett

 [4/4] from: g:santilli:tiscalinet:it at: 12-Aug-2002 12:30

Hi Anton, On Monday, August 12, 2002, 9:17:14 AM, you wrote: A> What datatype are file! and url! A> a subset of? any-string! Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB:

  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted