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

sysUndefineNamespace

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

Function Syntax

long sysUndefineNamespace(char namespace[]);

Description

Deletes a namespace. Also all variables in this namespace are automatically deleted.

Parameters

  • namespace: Name of the namespace.

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