Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!BRFAPESP.BITNET!UNBCIC From: UNBCIC@BRFAPESP.BITNET Newsgroups: comp.lang.forth Subject: ZEN 15A Message-ID: <9105240408.AA06205@ucbvax.Berkeley.EDU> Date: 23 May 91 12:05:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: UNBCIC%BRFAPESP.BITNET@SCFVM.GSFC.NASA.GOV Organization: The Internet Lines: 24 Ok. So I decided to convert my full-screen block editor to ZEN. I didn't finish the convertion but I found some interesting problems. The first problem (not a big deal) is -->. The second problem is AT-XY. It's defined as DROP SPACES. I think it's better leave AT-XY out of ZEN than defining it this way. The third problem, the one that stopped me is with 8-bit characters. My editor is provided with an accent filter, so I can enter all portuguese characters easily. Well, to make my program more legible, I did things like: CHAR ^ CONSTANT _portuguese_name_of_the_accent_ But this don't work with ZEN. The CHAR leaves nothing on the stack, the accent is ignored (not this, the >127 ones), and CONSTANT is ignored. The word after constant is then interpreted, returning an error. I have two questions about this: 1) What is happening? 2) Should this happen on an ANS Forth? May this happen on an ANS Forth? (BASIS 15, of course) (8-DCS) Daniel C. Sobral UNBCIC@BRFAPESP.BITNET