fileGetString
Open topic with navigation CAPL Functions » General » Function Overview » fileGetString Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Method Syntax (Dynamic)
Method SyntaxDescription
The function reads a string from the specified file into the buffer buff. Characters are read until the end of line is reached or the number of read characters is equal to buffsize -1. The end of line is marked either- by a single line feed or
- a carriage return and a line feed (DOS file)
fileGetString will start reading in the last line starting with the first character which didn’t fit into the buffer on the previous call.
Parameters
- buff: Buffer for the read-out string.
- buffsize: Length of the string.
- fileHandle: Handle to the file.