[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pred & succ ?

In article <3A0FA91A.7BEE1D07@dkrz.de>,
  Martin Schultz <martin.schultz@dkrz.de> wrote:
> FUNCTION pred, x
>    RETURN, x-1
> FUNCTION succ, x
>    RETURN, x+1

Thanks, Martin.  I take that as a "no", though.

I was thinking of a general, built-in (thus fast),
function that returns the successor or predecessor
of any ordinal variable.

I knew I could write x-1, etc.. :-)

-- Andrew

Sent via Deja.com http://www.deja.com/
Before you buy.