Path: news.daimi.aau.dk!poe From: gerosa@relay1.fininvest.it Newsgroups: comp.lang.beta Subject: Two question on assignement Date: 14 Jun 1995 14:13:21 GMT Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 20 Approved: mailtonews@daimi.aau.dk Distribution: world Message-ID: <3rmqq1$3sj@belfort.daimi.aau.dk> NNTP-Posting-Host: daimi.daimi.aau.dk Hi, Im implementing a Dictionary pattern with heterogeneous keys and values (association). To return a value I need to assign a less qualified object (ref-to-Object) to a more qualified object (es. ref-to-Text). In theory this is wrong. Does it exist a legal BETA method to do that assignment ? Since I manage heterogeneous return value I have another question. Can I know at run-time if an object support a specific (by-name) attribute (message) ? I can implement the same attribute (message) for each pattern it is also a possible return value from Dictionary, but sometimes it is useful know at run-time the interface protocol of an object. Thanks, Dario Gerosa