2 Instruction Descriptions
Precautions for Correct Use
• Always use a one-dimensional array for In[].
• Make sure that Key has the same data type as the elements of In[].
• If the value of Size is 0, the values of Out and Num are 0. The value of InOutPos does not change.
• Always use a variable for the input parameter to pass to Key. A building error will occur if a constant is
passed.
• If Key is an enumeration, you cannot directly pass an enumerator to it. A building error will occur if an
enumerator is passed to it directly.
• An error occurs in the following cases. ENO will be FALSE, and Out, Num, and InOutPos will not
change.
• Size exceeds the array area of In[].
• In[] is STRING data and it does not end in a NULL character.
• In[] is not a one-dimensional array.
2-352
NY-series Instructions Reference Manual (W560)