SHARE
TWEET

PERSON

a guest Sep 2nd, 2018 117 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. note
  2.     description: "Summary description for {PERSON}."
  3.     author: ""
  4.     date: "$Date$"
  5.     revision: "$Revision$"
  6.  
  7. class
  8.     PERSON
  9.  
  10.     create
  11.         initialize
  12.  
  13.     feature
  14.  
  15.         name: STRING
  16.         phone_number: INTEGER
  17.         work_place: STRING
  18.         email: STRING
  19.  
  20.  
  21.         initialize (new_name: STRING; new_phone_number: INTEGER; new_work_place: STRING; new_email: STRING)
  22.         do
  23.  
  24.             name := new_name
  25.             phone_number := new_phone_number
  26.             work_place := new_work_place
  27.             email := new_email
  28.  
  29.         end
  30.  
  31.  
  32. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top