--- linuxsampler/trunk/src/scriptvm/tree.h 2016/12/15 12:47:45 3054 +++ linuxsampler/trunk/src/scriptvm/tree.h 2016/12/16 12:57:59 3056 @@ -63,6 +63,13 @@ }; typedef Ref IntExprRef; +/*class IntArrayExpr : virtual public VMIntArrayExpr, virtual public Expression { +public: + ExprType_t exprType() const { return INT_ARR_EXPR; } + String evalCastToStr(); +}; +typedef Ref IntArrayExprRef;*/ + class StringExpr : virtual public VMStringExpr, virtual public Expression { public: ExprType_t exprType() const { return STRING_EXPR; } @@ -350,6 +357,7 @@ void dump(int level = 0); StmtFlags_t exec(); int evalInt(); + VMIntArrayExpr* asIntArray() const OVERRIDE; String evalStr(); bool isConstExpr() const { return false; } ExprType_t exprType() const;