Path: news.daimi.aau.dk!news-feed.inet.tele.dk!uninett.no!news.netg.se!dd.chalmers.se!news.chalmers.se!not-for-mail From: "Robert Huber" Newsgroups: comp.lang.beta Subject: Beta parameter passing trouble Date: Fri, 4 Jul 1997 00:44:25 +0200 Organization: Chalmers University of Technology Lines: 39 Message-ID: <5ph9nr$m7p$1@nyheter.chalmers.se> NNTP-Posting-Host: hacke-sl12.dtek.chalmers.se X-Newsreader: Microsoft Outlook Express 4.71.0544.0 X-MimeOLE: Produced By Microsoft MimeOLE Engine V4.71.0544.0 Xref: news.daimi.aau.dk comp.lang.beta:11174 Hi! I have a lot of problem with a thing that should not be that difficult. Consider this source. I want to know why this doesnt work. ¦checkSuperClass: ¦ (# fatherAst: ^ast; aClasses: ^classes; aClass: ^class; ok: @boolean; ¦ c:^text; s:^text; co:@text; so:@text; nd:^nameDecl; ¦ do ¦ 'apa'->screen.putText; ¦ 'apa'->co; ¦ co[]->screen.putLine; ¦ ¦ father->fatherAst[]; ¦ THIS(class)[]->aClass[]; ¦ (if fatherAst[] <> none then ....... The part... 'apa'->co; co[]->screen.putText; ....generates two errors, that is both "Incompatible left- and right-side of assignment". The source is part of a semantic level fragmentgroup and checkSuperClass is a fragmentform in this fragmentgroup. regards Robert Huber, Gothenburg d0mrboohdtek.chalmers.se