Generating user dialogs
1.9 Predefined functions
Function name
Setting an individual bit
Delete control
102
Description
The function is used to manipulate individual bits of the specified var‐
iables.
The bits can either be set or reset.
Syntax:
<function name="ncfunc.bitset" refvar="address"
value="set/reset" > bit0, bit1, ... bit9 </function>
Attributes:
refvar - specifies the name of the variable, in which the bit combination
should be written
value – bit value, value range 0 and 1
Values:
The bit numbers starting with zero should be transferred as function
values.
A maximum of 10 bits per call can be modified.
Example:
<function name="ncfunc.bitset" refvar="nck/Channel/
Parameter/R[1]" value="1" > 0, 2, 3, 7 </function>
<function name="ncfunc.bitset" refvar="nck/Channel/
Parameter/R[1]" value="0" > 1, 4 </function>
The function deletes the specified picture control.
Syntax:
<function name="control.delete"> control name </
function>
or
<function name="ncfunc.bitset"
refvar="$MN_USER_DATA_HEX" value="1" > 0, 2, 3, 7 </
function>
Attribute:
name – function name
Value:
control name – name of the control
Example:
<function name="<control.delete>">
_T"my_editfield" </function>
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Easy XML