Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pulover/eval
AHK Function to evaluate expressions dynamically in strings.
https://github.com/pulover/eval
Last synced: 25 days ago
JSON representation
AHK Function to evaluate expressions dynamically in strings.
- Host: GitHub
- URL: https://github.com/pulover/eval
- Owner: Pulover
- License: unlicense
- Created: 2016-03-09T03:02:35.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-28T22:43:10.000Z (almost 4 years ago)
- Last Synced: 2024-08-05T01:11:04.050Z (4 months ago)
- Language: AutoHotkey
- Homepage: https://autohotkey.com/boards/viewtopic.php?f=6&t=13565
- Size: 53.7 KB
- Stars: 29
- Watchers: 5
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-AutoHotkey - Eval - by Pulover - Evaluate expressions in strings. Forum thread: [link](https://autohotkey.com/boards/viewtopic.php?f=6&t=13565) (Libraries / Maths)
README
# Eval()
## Evaluate Expressions Dynamically in Strings.
### Credits
ExprEval() by Uberi## Return
An array (object) with the result of each expression.## Parameters
### String:
The input string to be evaluated. You can enter multiple expressions separated by commas (inside the string).### CustomVars [optional]
An Associative Array object containing variables names as keys and values to replace them. For example, setting it to {A_Index: A_Index} inside a loop will replace occurrences of A_Index with the correct value for the iteration.