<-- Previous || Up || Next -->

Comment File Function
Utilities Class

Public Function CommentFile( _
      ByVal vInFile As Variant _
    , ByVal vOutFile As Variant _
    , Optional ByVal vPrefixLine As Variant _
    , Optional ByVal vSuffixLine As Variant _
    ) As Boolean

Add some string to the beginning and/or end of every line of a file.
Note: This algorithm does not work well on files containing EOF (^Z) characters, because of known problems with the Open Input statement.

See also:
    CommentFileSample Subroutine
    WrapEachCharacter Function

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.