#define INVALID_VALUE 5001
// exception for patterns
-#define INVALID_REFBLOCK_USE 10001
-#define INVALID_GROUPBLOCK_USE 10002
-#define INVALID_DELTA_CP 10003 // delta and CP are not consistent (NB: used during admittance computation)
+#define INVALID_FUNBLOCK_USE 10001
+#define INVALID_REFBLOCK_USE 10002
+#define INVALID_GROUPBLOCK_USE 10003
+
+#define INVALID_DELTA_CP 10004 // delta and CP are not consistent (NB: used during admittance computation)
#define EVAL_PARAM_UNKNOWN 10101 // a variable used in an expression is not defined as a block parameter
#define EVAL_PARAM_NOVALUE 10102 // can't get the double value of a block parameter