Skip to main content

J1939GetEnvInt

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long J1939GetEnvInt( char[] envVar, dword index );

Description

This function gets the value of an environment variable.

Parameters

  • envVar: name of the environment variable
  • index: index of the environment variable

Return Values

Value of the environment variable or 0 if it does not exist

Example

value = J1939GetEnvInt( "EvFrictionForce", 1 );