The 'AiCurr' function returns the current value of AI tag.
double @AiCurr(string tag);
Parameters
string tag : Name of AI tag
Return Value
Current value of AI tag
Example
value = @AiCurr("ai01");
Description : The current value of AI tag named 'ai01' is stored in the variable named 'value'.
value = $ai01;
Even if you write statement as above, the result is the same.