Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!van-bc!questor!aberno From: aberno@questor.wimsey.bc.ca (Anthony Berno) Newsgroups: comp.sys.mac.programmer Subject: Pascal deficiency? Message-ID: Date: 17 Dec 90 04:57:37 GMT Organization: Questor: FREE Internet Access => +1 604 681.0670 Lines: 16 I generally prefer Pascal programming, but I have come up against what seems like a real deficiency in the language. I never really thought about it before, but there does not seem to be any equivalent to the ++ or -- operator in Pascal. I was doing some speed checks on array accessing today, and it occured to me that in doing something like incrementing an entry by one, the computer was doing rather a lot of work! Either there is no way to do a quick increment in Pascal, or I'm missing something in my knowledge, or I'm wrong about the speed difference between things like ++(variable) and (variable):=(variable)+1 Any comments? This is pretty basic, I know, but I never considered it before. :) Excuse me while I go get my asbestos suit on.