Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: arrays, arrays with sub-index #115

Open
pszeptynski opened this issue Feb 6, 2021 · 0 comments
Open

Feature: arrays, arrays with sub-index #115

pszeptynski opened this issue Feb 6, 2021 · 0 comments
Assignees

Comments

@pszeptynski
Copy link

At the moment, we have an L command that act as a list, but it returns random values from the list. I.e.

!2L["cat", "dog", "bird", "cow"]

returns 2 random values from the list.

It would be nice to have a classic array that stores the values which could be accessed by index as in regular programming languages. I.e.

["cat", "dog", "bird", "cow"][1]

always returns "dog".

You know what I mean by regular array/list. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants