Guest User

Untitled

a guest
May 22nd, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ada 0.58 KB | None | 0 0
  1. loop
  2.                   E := Element (To_Unbounded_String (Text), I);
  3.                   case E is
  4.                      when '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '0' =>
  5.                         Field := (Field & E);              
  6.                         I := I + 1;
  7.                         K := 1;
  8.                      when others => if K = 0 then
  9.                                        Field := (Field & '0');
  10.                                     end if;
  11.                                     exit;
  12.                   end case;
  13.              --     Put (I);Put ("E");
Add Comment
Please, Sign In to add comment