TABLE OF CONTENTS


readFile

NAME

::guib::moduleObj::readFile -- reads and input-file

USAGE

readFile fileChannel ?fileName?

DESCRIPTION

This method reads the content of file-channel of a given input file. An example of the usage of the method is in ::guib::menuOpen proc, i.e., upon the user selection of an input file this method is called.

RETURN VALUE

OK -- input file is OK SYNTAX_ERROR -- input file contains syntax errors WRONG_FORMAT -- input file is not in appropriate format

EXAMPLE

$moduleObj readFile $fID myFile.inp