Syntax

mqInquireInteger (Bag, Selector, ItemIndex, ItemValue, CompCode, Reason)