Error 22023

SR016: Function length needs a string or array as its argument, not an argument of type 189 (= INTEGER)