-
Notifications
You must be signed in to change notification settings - Fork 268
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
indexing support #140
Comments
Sorry, there is no support for arrays |
But could there be? I mean, the though is intriguing but I do not know if the Maybe in the first step just being able to define arrays and use their values might be interesting, something like this:
Without any sort of "array operations". |
Array indexes (like, e.g. value[0]) could be seen as functions. The parser/tokenizer, shunting yard routine and evaluator could be extended to support this with a reasonable efford, I think. |
Mh, I ain't got good usage examples without array operations (I didn't think beyond basic math operations, though), I was just throwing ideas into the room. Maybe @tekjar got some. |
@uklimaschewski @RobertZenz My use case is also basic math equations but my array size is dynamic. So It's difficult to create variables for each array value |
I marked this issue as an enhancement, maybe there will be something in the future. Simple one-dimensional arrays would not be enough, I think. |
Arrays now supported in version 3. |
Hi. Is there a way to pass list variables and use indexes?
The text was updated successfully, but these errors were encountered: