Shortcut operators (was Re: [MATRIX-SIG] random number generator?)

James A. Crotinger jac@lanl.gov
Wed, 29 Oct 1997 15:11:21 -0700


At 01:22 PM 10/29/97 -0800, Paul F. Dubois wrote:
>C++ does indeed have the ability to make a = a + 1 and a++ and a += 1 all
>come out differently. Pardon me if I do not consider this a good thing.

Fortran has the ability to have:

  a = add_one(a)
  a = sum(a,1)
  call increment_by_one(a)

all come out differently as well. One can do stupid things in any
programming language. 8-)

  Jim


_______________
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________