var sba:array of [ .. ] byte; ss,ss1:string; swCount,s,sw2:word;
swCount:=0; for sw2:=0 to Memo1.Lines.Count-1 do begin ss1:=Memo1.Lines[sw2]; repeat while (ss1[1]=#32)and(ss1>') do delete(ss1,1,1); s:=pos(#32,ss1); if s>0 then begin ss2:=copy(ss1,1,s-1); delete(ss1,1,s) end else begin ss2:=ss1; ss1:=' end; if ss2>' then begin // insert('$',ss2,1); sba[swCount]:=lo(StrToInt(ss2))); inc(swCount) end until ss1=' end;