Path: utzoo!attcan!uunet!mailrus!ncar!boulder!streich From: streich@boulder.Colorado.EDU (Mark Streich) Newsgroups: comp.lang.pascal Subject: Re: Wish List for TP 6.0 Message-ID: <26974@boulder.Colorado.EDU> Date: 26 Sep 90 15:20:44 GMT References: <1990Sep26.024531.174@water.waterloo.edu> Sender: news@boulder.Colorado.EDU Reply-To: streich@boulder.Colorado.EDU (Mark Streich) Organization: University of Colorado, Boulder Lines: 19 I want the ability to have public read-only fields in my objects so I don't have to create functions for every field when I want to let someone access the value of a field, but not modify it. example: rootclass = object employee_num : string; readonly; end; var anobj : rootclass; legal: if anobj.employee_num = ... then illegal: anobj.employee_num := ... ; Is this what people mean by "private" fields?