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