company logo

TextFile :: assign - Assign text file

The function allows assigning a text file, i.e. it copies path and access mode from the file passed in cTextFile. When the current file is opened, it will be closed before assigning. When the file passed in cTextFile is opened, the file will be opened.

The function is also called when using the assign operator in OSI scripts.

Return value:   - internal feature (not documented) ( odaba::utils::TextFile & )

Implementation details

odaba::utils::TextFile & TextFile  :: assign ( odaba::utils::TextFile &cTextFile )
  • cTextFile - - internal feature (not documented)