> How about adding this:
> get({string} [, {default}])
> Get value from variable {string}. When this
> variable does not
> exist, return {default}. Return zero when
> {default} is
> omitted.
Hmmm.... we could follow the more succinct gmake way of doing things and add a
new operator instead (I like this solution better):
:let {var} ?= {expr} This is a conditional variable assignment
operator,
it only has an effect if the variable
is not yet
defined. This statement:
let foo ?= "bar"
is exactly equivalent to this:
if !exists("foo")
let foo = "bar"
endif
Regards,
David
---
"Love is what's in the room with you at Christmas if you stop opening presents
and listen."
Bobby - age 7