Download the - awrcontrol.com

Transcript
.
.
.
.
The syntax is.
.
Var = MONTH(TIMER)
.
This function.returns the current month, e.g. 3 for March.
.
14.15 OPEN
.
OPEN
.
The syntax is:.
.
OPEN(”WorkbookName”,”WorksheetName”)
.
This function is used open the referenced Excel Workbook and Worksheet.
Example:
.
OPEN(l_FUZPROPREPORT,l_SHEET1)
.
This OPEN statement opens the worksheet ”SHEET1”,of the workbook
“FuzPropReport”.
14.16 PWR
PWR
.
The syntax of the power function is
X1 PWR N
which calculates X1 in the power of N.
Example:
X1 PWR 0.5
Calculates the square root of X1, i.e. X1
14.17 RETRIEVE
RETRIEVE
The syntax is:
RETRIEVE(”WorkbookName”,”WorksheetName”,row,column,var)
This function is used to retrieve the value(s) from the row,column(s) of the refrenced
Excel workbook and worksheet, and assign the retrieved value to the variable var. The
referenced workbook must be loaded, which is done from the Excel menu item on the
application window. If the variable is an array, then all the array elements are retrieved
from column, column+1, column+2 etc.
Example:
RETRIEVE(“FUZPROP”,”DATA”,3,11,g_LSF_M)
This RETRIEVE statement retrieves the value from row 3, column 11 of the worksheet
named “DATA” in the workbook named “FUZPROP”, and assigns the retrieved value to
the Global variable g_LSF_M .
14.18 RND
RND
The syntax is:
var = RND(i)
FuzEventManual 07-03-2013 Rev02.doc
69 of 108