company logo

FileHandle :: Write - Write file

The function writes the content passed in cnstring at the position requested in position to the file. The function is intended to be called for writing ASCII files, only. The length of data is taken from the string length in buffer, when not being defined in the max_len parameter.

Return value:  Success ( logical  )

Implementation details

logical FileHandle  :: Write ( NString &cnstring, int32 position, int32 max_len )
  • cnstring - String containing the text
  • position - Position in the file or area
  • max_len - Maximum length