def var s as int. repeat: update s. for each customer no-lock break by (if s = 1 then string (cust.custnum) else cust.name): display cust.custnum cust.name. end. end.