REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: query

query  target  /mode  field

Returns information about a port (also specified as file or URL).


target [port! file! url! block!]


/mode - Get mode information

field [word! none!] - NONE will return valid modes for port type

See also:

open   update  


Its argument is an unopened port specification. The size, date and status fields in the port specification will be updated with the appropriate information if the query succeeds.

  TOC < Back Next > - WIP Wiki Feedback Admin