feat(developer): Add an Optional Parameter to `outs` for an Index
- Dominant language
- Pascal
- Stars
- 534
- Forks
- 143
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 113
Description
### Is your feature request related to a problem? Please describe.
Working with lists of marks, sometimes in an inline menu, I would like to reference just a single symbol in the list. A "list" is always a string in a store variable. The function `outs` can output the entire string (list), I think it is a good choice of function to be used to reference a list item by index.
### Describe the solution you'd like
As per:
```
store(ModifierList) '… … …'
⋮
… any(BaseLetters) + '@' > context outs(ModifierList, 3)
```
In other languages, this would be equivalent to ModifierList[2] .
### Describe alternatives you've considered
_No response_
### Related issues
_No response_
### Keyman apps
- [ ] Keyman for Android
- [ ] Keyman for iPhone and iPad
- [ ] Keyman for Linux
- [ ] Keyman for macOS
- [ ] Keyman for Windows
- [X] Keyman Developer
- [ ] KeymanWeb
- [ ] Other - give details at bottom of form
### Keyman version
N/A
### Operating system
N/A
### Device
N/A
### Target application
N/A
### Browser
N/A
### Keyboard name
Any
### Keyboard version
Any
### Language name
Any
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.