Share » Forums » Setup & design » can't increment my variable....

can't increment my variable....

can't increment my variable....

Tuesday 07 February 2006 2:10:45 am - 1 reply

Author Message

Mads Ovesen

Tuesday 07 February 2006 11:57:25 am

Try

{set $compteur=inc( $compteur )}

instead. I think the problem is, that you cannot use inc the way you do to increment the value of a variable. That way you can only increment numbers, for instance: {10|inc} would return 11.

/m

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu