Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Rebol Programming/launch-thru

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

USAGE: LAUNCH-THRU url /update /check info DESCRIPTION: Launch a net file from the disk cache. LAUNCH-THRU is a function value. ARGUMENTS: url -- (Type: url file) REFINEMENTS: /update -- Force update from source site /check -- Update only if version, checksum/secure, or date/size do not match. info -- (Type: any) SOURCE CODE launch-thru: func [ "Launch a net file from the disk cache." url [url! file!] /update "Force update from source site" /check {Update only if version, checksum/secure, or date/size do not match.} info /local data ][ if not data: either update [ read-thru/update/expand url ] [ read-thru/check/expand url info ] [ alert reform ["Cannot launch" url] return none ] launch/secure-cmd path-thru url ]