Re: [A-A-P-develop] Yet another patch (dmd.py this time)
Brought to you by:
vimboss
From: Lars I. I. <lar...@ig...> - 2004-02-28 14:33:48
|
Bram Moolenaar wrote: > Lars - > > >>>For me using $?var when $var was not set is equivalent to use $var when >>>it is empty. Thus I don't think the precense of a '?' should matter. >> >>Reading the docs more thouroughly, I have to agree. >> >>So my conclusion on how I want it: >> >>During RC-expansion, the result should be nothing if all expanded >>variables are empty. > > > I would agree with you, except that I can think of a situation where you > don't want it this way: > > LIBS = one two > NOLIBS = > ext = .lib > noext = > > :print - lib$*LIBS$ext - > :print - lib$*LIBS$noext - > :print - lib$*NOLIBS$ext - > :print - lib$*NOLIBS$noext - > > What would you expect to be the result? I would think this: > > - libone.lib libtwo.lib - > - libone libtwo - > - - > - - > > Agreed? > > I think the rule should be that $*var expansion is empty when $var is > empty. Whether something follows or not is irrelevant. Good example. I agree. Lars Ivar Igesund |