get-stream-filename
Returns the file name (including extension) of the specified stream if it was created from a file. If the stream does not originate from a file, the function returns the value of the optional default argument, if provided.
Signature
get-stream-filename(stream as stream, default as string="") -> string |
Parameters
Name | Type | Description |
|---|---|---|
stream | stream | Specifies the input stream. |
default | string | Specifies the default value to return. By default, this is an empty string. |