Enum degraded or spec changed with Build 324?
Well, I'm not sure whether actually casting a string from an enumeration through the cast operator is the preferred MQL5 way of doing things.
Though it's not so orthogonal, use: IntegerToString() instead.
Thanks, Plymo, for your reply.
If it will be clear that the spec was changed, I will use IntegerToString().
I made a simple test script.
And results are like this:
2010.09.10 00:19:00 testEnum (EURUSD,M5) 3 < correct.
2010.09.10 00:19:00 testEnum (EURUSD,M5) 260830442608302026082984 < incorrect... I expected string "012".
I made a simple test script.
And results are like this:
2010.09.10 00:19:00 testEnum (EURUSD,M5) 3 < correct.
2010.09.10 00:19:00 testEnum (EURUSD,M5) 260830442608302026082984 < incorrect... I expected string "012".