[716] in Coldmud discussion meeting

root meeting help first previous next last

Re: Assignment operators

daemon@ATHENA.MIT.EDU (Thu Mar 16 14:48:34 1995 )

From: foxen@netcom.com (Foxen)
To: coldstuff@MIT.EDU
Date: Thu, 16 Mar 1995 11:42:09 -0800 (PST)

If you want to have assignment in expressions, then you cannot use <- as
an assignment operator.  Consider the following program that is meant to
count from -10 to -5.

a<--5;
while (a<-5) {
  a<-a+1;
}

	- Foxen

-- 
   =/\=  "Illuminati...         | "We are young, wandering the face of the
   ____    It's not just for    |  Earth, wondering what our dreams might be
  /\/\/\    breakfast anymore!" |  worth, learning that we're only immortal
 /\/\/\/\    foxen@netcom.com   |  for a limited time." - Rush: Dreamline