scanselect syntax