Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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.