Parameter for timing

Dear Dynare users.
I hope you are all well. I have not found a simple solution for this, I would like to ask whether there is a way to set a parameter for the time of a variable. For instance, set L as parameter, L=2; and a variable, let’s say, lambda(+L).
I did just as I exposed but it gives an error.

Dear Fernando,

This is not possible, but you could use a macro variable for L instead.


Thank you, Stéphane, I will do that.