Guest User

Untitled

a guest
Jul 23rd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.36 KB | None | 0 0
  1. var
  2.   s1, s2: String;
  3. begin
  4.   s1 := '';
  5.   s2 := '';
  6.   table.first;
  7.  
  8.   while not table.eof do
  9.   begin
  10.     s1 := s1 + table_name.asString + ' ' + table_price.asString + #13;
  11.     table.next;
  12.   end;
  13.  
  14.   while not table.eof do
  15.   begin
  16.     s2 := s2 + table_name.asString + ' ' + table_price.asString + #13;
  17.     table.next;
  18.   end;
  19.  
  20.   showmessage(s1);
  21.   showmessage(s2);
  22. end;
Add Comment
Please, Sign In to add comment