Geir Magnusson Jr said: > On Dec 29, 2003, at 9:47 PM, Nathan Bubna wrote: > > Geir Magnusson Jr said: > >> I'm still not convinced that there are enough of these to warrant > >> adding to VTL. > > > > agreed. and on that, i'd rather have things stay as they are than add > > the > > $isEmpty($array) syntax. ugly and confusing. might at least be a > > little better if it used # or @ or something instead of $. > > I just started w/ $, but you're right - it's not a reference. It's not > really a directive either.
true, but it's closer to a directive than a reference though. > @isEmpty($foo) > %isEmpty($foo) > &isEmpty($foo) > > #set($res = &isEmpty($foo)) blech. my vote is still for #set( $bar = $array.isEmpty() ) just a little magic. :) keeps things simple and pretty for designers. no new paradigm, no new syntax. sorry if i'm starting to sound like a broken record. ;) Nathan Bubna [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]