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).

Arguments:

target [port! file! url! block!]

Refinements:

/mode - Get mode information

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

See also:

open   update  

Description

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 > REBOL.com - WIP Wiki Feedback Admin