geirm       00/11/19 15:31:22

  Added:       test/templates VM_global_library.vm
  Log:
  Default distribution provided global VM library.  (I am sure this will draw howls of 
protest. :)  It contains a single example Velocimacro, #quietnull( $arg ) which 
behaves exactly as $!arg.  Just wanted to show how a global library would work, and 
test the protection mechanism - by default, you can't define inline any VM that was 
loaded previously.
  
  Revision  Changes    Path
  1.1                  jakarta-velocity/test/templates/VM_global_library.vm
  
  Index: VM_global_library.vm
  ===================================================================
  #macro( quietnull $a)
  #if($a)$a#end
  #end
  
  
  
  

Reply via email to