> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/evaluator/val.md).

# Val

\<evalcmd> Val && var && Value of the named argument. && varname && string && Name of the argument. \</evalcmd>

Returns the value of a variable; *varname* is provided as a quoted string. This is useful for variables which contain characters that would confuse the Evaluator's parser (e.g. if the name begins with a number).

//<Example://>

```
flag = Val("35mmfocallength"); // get value of the 35mmfocallength field
```
