B-75044EN/02 4. FA LIBRARY
F_CopyCustomMacroVariable takes out the custom macro variables
from the descriptor ID, and places them in the array pointed to by
VariableValue and VariableExponent.
Count specifies the number of the custom macro variables you want to
copy at a time.
The actual copied number is placed in the buffer pointed to by
The custom macro variable can be calculated by substituting the contents
of the arrays pointed to by VariableValue and VariableExponent for
the following equation.
The N-th Custom Macro Variable =
VariableValue[N] 10^( VariableExponent[N] )
Where, “ N” is from 0 to (Count 1).
And, “^ “ indicates the power operation.
6 F_CopyCustomMacroVariable can copy several variables with
dividing into several times. When F_CopyCustomMacroVariable
returns, the copy offset is advanced to the next location of the actual
7 F_Seek can move the copy offset to the custom macro variable you
want to copy by using F_CopyCustom MacroVariable.
8 Call F_FreeID to free the descriptor ID returned by
F_ReadCustomMacroVariable(Ex) when you finish taking out the
custom macro variables .
F_ReadCustomMacroVariable(Ex) returns a descriptor ID for pointing
the custom macro variable if it succeeds. If it fails, a value of 0 is returned.
TRUE is returned if F_CopyCustomMacroVariable succeeds, FALSE is
returned if it fails.
In failure, an error code can be acquired when F_GetLastError is carried