Path: news.daimi.aau.dk!news.uni-c.dk!uninett.no!news.netg.se!dd.chalmers.se!news.chalmers.se!not-for-mail From: "Robert Huber" Newsgroups: comp.lang.beta Subject: Re: Beta parameter passing trouble Date: Fri, 4 Jul 1997 18:05:46 +0200 Organization: Chalmers University of Technology Lines: 38 Message-ID: <5pj6ob$r39$1@nyheter.chalmers.se> References: <5ph9nr$m7p$1@nyheter.chalmers.se> <5pi5p8$3hd$1@gjallar.daimi.aau.dk> NNTP-Posting-Host: hacke-sl10.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:11178 Hi! >>The part... > >>'apa'->co; >>co[]->screen.putText; > >>...generates two errors, that is both "Incompatible left- and right-side of >>assignment". >This compiles fine on my system, so could you supply more details. >Your problem does not seem to be originating from this code. When >reading your original code sequence, nothing seems to be wrong. > >Just a thought: are you sure, that you have not, by accident, defined >a new 'text' pattern somewhere (visible to this code segment). That >would definitely explain the behaviour, you are observing in your >program segment. This seemed to be the problem. In the grammar we had the nonterminal and the generator tool created the pattern text(# #). I renamed this nonterminal into and then then it compiled succesfully! Im back on the track. Thanks!! regards Robert Huber d0mrboohdtek.chalmers.se