Skip to main content

Iso11783GetEnvDbl

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

double Iso11783GetEnvDbl( 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.0 if it does not exist

Example

value = Iso11783GetEnvDbl( "EvFrictionForce", 1 );