Sign in Join
FPDoc Onlineexperiment

FilenameToURL function

In unit LazHelpIntf

Gets the URL with file path information for the specified file name.

Declaration

pascal
function FilenameToURL(const Filename: string): string

Arguments

Filename

File name converted to a URL in the function.

Function result

URL for the specified file name.

Description

FilenameToURL is a String function used to get the URL value for the specified file name. FilenameToURL calls FilenameToURLPath to get the file path information needed for the URL. The value ' file://' is prepended to the return value to indicate that the file URL scheme is used in the URL.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.