On Wed, 25 Apr 2007 03:02:39 +0200, Nikolai Weibull wrote: > On 4/24/07, Andy Wokula <[EMAIL PROTECTED]> wrote: > > As long as function arguments are read-only, it is good to have > > the a: modifier. > > > > In fact, why are they read-only, although call is by value? > > Yes, that's the reason for the a: modifier. And yes, why are they > read-only? VimScript isn't a functionaly programming language. > Variables are mutable; arguments should be to.
Maybe its to stop people thinking that assigning to an argument will change its value back at the call point? Spencer -- <<< Eagles may soar, but weasels don't get sucked into jet engines >>> 7:38am up 56 days 14:21, 19 users, load average: 0.01, 0.06, 0.04 Registered Linux User #232457 | LFS ID 11703