![]() | Fun 0.41.5 The programming language that makes You have fun |
Implements OP_ENV to read an environment variable by name. More...
Go to the source code of this file.
Functions | |
| if (key.type !=VAL_STRING) | |
| push_value (vm, make_string(val ? val :"")) | |
| free_value (key) | |
Variables | |
| case | OP_ENV |
| const char * | name = key.s ? key.s : "" |
| const char * | val = getenv(name) |
| break | |
Implements OP_ENV to read an environment variable by name.
Behavior:
Errors:
Definition in file env.c.
| free_value | ( | key | ) |

| if | ( | key.type ! | = VAL_STRING | ) |
| push_value | ( | vm | , |
| make_string(val ? val :"") | ) |