Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!pitt!willett!ForthNet From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: Conventions and "tricks" used in Forth Message-ID: <2836.UUL1.3#5129@willett.pgh.pa.us> Date: 31 May 91 03:23:30 GMT Organization: (n.) to be organized. But that's not important right now. Lines: 40 Category 3, Topic 1 Message 110 Wed May 29, 1991 D.RUFFER [Dennis] at 22:50 EDT Re: hnridder@cs.ruu.nl (Ernst de Ridder) > What (different) naming conventions are there? Well, I certainly haven't seen all the possiblities, but here are a few that I've used: !name @name .name -> These are clear (I think). #name -> Can mean "size of" or "number of" depending on context. +name -name -> Turn on and turn off name. -name -> Inverse truth value returned by name. /name -> Initialize name. >name -> "Into" or "pointer to" name, but can also be "translate to". 'name -> Vector for name. (name) -> Low level subset of name. ?name -> Takes a truth value. name? -> Returns a truth value. These are just a few of what I've used and seen, but I'm sure there are many more, and this doesn't include the case-sensitive ones mentioned earlier. DaR ----- This message came from GEnie via willett. You *cannot* reply to the author using e-mail. Please post a follow-up article, or use any instructions the author may have included (USMail addresses, telephone #, etc.). Report problems to: dwp@willett.pgh.pa.us _or_ uunet!willett!dwp