> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionIso11783GetEnvInt

# Iso11783GetEnvInt

[Valid for](../../../../Shared/FeatureAvailability.md): CANoe DE • CANoe4SW DE

## Function Syntax

```plaintext theme={null}
long Iso11783GetEnvInt( 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

```plaintext theme={null}
value = Iso11783GetEnvInt( "EvFrictionForce", 1 );
```
