Hi to everyone.
 
Well, I am starting with Velocity and I have a problem with the whitespaces 
that appear when I call a Velocimacro.
My Velocimacro is the next.

#*

* Obtenemos el nombre de la relacion $number

* que se encuentra en en el conjunto de relations

*#

#macro(relation $lrelations $number)

#set($i = 0)

#foreach($rel in $lrelations)

#set($i = $i+1)

#if($number == $i)

$rel

#end

#end

#end

 

and the sentence that call this velocimacro is the next:

##########################################

ceq ModelGenHidden (#relation($relations 1) ; ? Set{ N, M } ? Model ? TargetMM 
? 

##########################################

but the result I get in the console is :

##########################################################

ceq ModelGenHidden (                                                    
Package2Schema

; ? Set{ N, M } ? Model ? TargetMM ? TracMM)

 

##########################################################

 

Does anybody know how I can prevent this white spaces??

Many thanks.

 

     Pascual

 

 


                
---------------------------------

Correo Yahoo!
Comprueba qué es nuevo, aquí
http://correo.yahoo.es

Reply via email to