Changes
Page history
NewFeatures: add @#for loops with “when” keyword
authored
Feb 20, 2020
by
Sébastien Villemot
Show whitespace changes
Inline
Side-by-side
NewFeatures.md
View page @
59d2af2a
...
...
@@ -160,6 +160,10 @@ Dynare 4.6
-
`@#for`
loops can iterate over several variables at the same time (
*e.g.*
`@#for (i,j) in X`
, where
`X`
is an array containing tuples of size 2).
-
Added the possibility to exclude some elements when iterating over
`@#for`
loops (
*e.g.*
`@#for i in 1:5 when mod(i,2) == 0`
iterates over all even
numbers between 1 and 5).
-
A
`defined()`
function allows testing whether macro variables have been
defined.
...
...
...
...