NAME=LoadText
AUTHOR=
ITEM=sub LoadText fileName$, handle$
DESCRIPTION=Sub loads contents of a file (fileName$) to a text window / texteditor (handle$)
OUTSIDE CODE=

sub LoadText fileName$, handle$
    'arguments:
        'fileName$ - VALID path for the file
        'handle$ - handle of a text window or texteditor
    open fileName$ for input as #ffFileHandle
    #handle$, "!contents #ffFileHandle"
    close #ffFileHandle
end sub
