Advertisement
Guest User

Untitled

a guest
Jul 5th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Eiffel 0.38 KB | None | 0 0
  1. class TEST
  2.  
  3. creation
  4.     make
  5.  
  6. feature
  7.  
  8.     make is
  9.         local
  10.             my_dict : DICTIONARY[STRING,STRING]
  11.             inputWord: STRING
  12.         do
  13.             create my_dict.make
  14.  
  15.             my_dict.put("and","dan and")
  16.             my_dict.put("abder","bread beard brade")
  17.  
  18.             inputWord:="adn"
  19.             -- ^ Thats for example if someone inputs "dan"
  20.             -- and it is put into base form.
  21.  
  22.             print(my_dict@inputWord)
  23.         end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement