Skip to main content

TestGetStringInput

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

Description

Returns the result of the last successful call of TestWaitForStringInput.

Parameters

  • aAnswer: Variable in which the entry of the user must be accepted.
  • aAnswerLen: Length of variable which has to accept the user entry.

Return Values

  • < 0: General error, e.g. by calling outside of a test sequence or through no previously performed call of TestWaitForStringInput.
  • 1: Data were successfully queried.

Example