Skip to main content
Open topic with navigation

sysUndefineVariable

CAPL Functions » System Variables » sysUndefineVariable Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

long sysUndefineVariable(char namespace[], char variable[]);

Description

Deletes a variable.

Parameters

  • namespace: Name of the namespace.
  • variable: Name of the variable.

Return Values

  • 0: no error, function successful
  • 1: namespace was not found or second try to define the same namespace
  • 2: variable was not found or second try to define the same variable
  • 3: no writing right for the namespace available
  • 4: the variable has no suitable type for the function

Example