open-input-file

Name

open-input-file -- Creates an input port from a file name

Type: function

Synopsis

open-input-file( string, input-port);

Arguments

string

An instance of <string> representing a file name.

Return Values

input-port

An instance of <input-port>

Description

This function creates a new input port from a file name. This port can then subsequently be used in input operations such as read, read-char, and peek-char.