u1050411 Posted September 17, 2015 Share Posted September 17, 2015 Hola, Me gustaria utilizar una variable e incrementar-la He usado esto por ahora Para crearla {assign var='numEliminats' value=0} Para incrementarlo {$numEliminats++} El problema es que al incrementarlo me aparece por pantalla (cosa que no quiero ) Alguna solucion ? Link to comment Share on other sites More sharing options...
joseantgv Posted September 17, 2015 Share Posted September 17, 2015 Hola, Me gustaria utilizar una variable e incrementar-la He usado esto por ahora Para crearla {assign var='numEliminats' value=0} Para incrementarlo {$numEliminats++} El problema es que al incrementarlo me aparece por pantalla (cosa que no quiero ) Alguna solucion ? Prueba: {assign var='numEliminats' value=$numEliminats++} Link to comment Share on other sites More sharing options...
u1050411 Posted September 18, 2015 Author Share Posted September 18, 2015 No me ha funcionado, en cambio si {math equation="numEliminats+1" numEliminats=$numEliminats assign=numEliminats} Gracias por todo 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now