Skip to main content
Open topic with navigation CAPL Functions » System Variables » sysResetValue

sysResetValue

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

Function Syntax

long sysResetValue(sysvar * variable);

Description

Resets a system variable to its initial value.

Parameters

  • variable: Name of the variable.

Return Values

  • 0: Success
  • 1: The system variable has no initial value assigned or is only used for analysis purposes
  • -1: Parameter is invalid (e.g. failure return from lookupSysVar)

Example

sysResetValuestestResetSysVarValue