trick/docs/documentation/simulation_capabilities/Environment.md
2022-10-07 17:03:47 -05:00

13 lines
512 B
Markdown

| [Home](/trick) → [Documentation Home](../Documentation-Home) → [Simulation Capabilities](Simulation-Capabilities) → Environment |
|------------------------------------------------------------------|
This class saves the Trick environment variables at compile-time. The variables
are saved inside the S_main executable. These variables are read-only after they
are compiled into the sim.
```c++
const char * get_trick_env( char * variable_name )
```
[Continue to STL Checkpointing](STL-Capabilities)