Advertisement
Guest User

ENTRY

a guest
Sep 2nd, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Eiffel 0.43 KB | None | 0 0
  1. note
  2.     description: "Summary description for {ENTRY}."
  3.     author: ""
  4.     date: "$Date$"
  5.     revision: "$Revision$"
  6.  
  7. class
  8.     ENTRY
  9.  
  10.     create
  11.         initialize
  12.  
  13.     feature
  14.  
  15.         date: TIME
  16.         owner: PERSON
  17.         subject: STRING
  18.         place: STRING
  19.  
  20.         initialize(new_date: TIME; new_owner: PERSON; new_subject: STRING; new_place: STRING)
  21.         do
  22.             date := new_date
  23.             owner := new_owner
  24.             subject := new_subject
  25.             place := new_place
  26.         end
  27.  
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement