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: about 2 months ago
JSON representation

AHK Function to evaluate expressions dynamically in strings.

Lists

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.