Rafal W.
Rafal W.
Adds `GetPointer()` method for `Object` class for non-MQL compilers. Example error: ``` Object.mqh:120:45: error: use of undeclared identifier 'GetPointer' return StringFormat("[Object #%04x]", GetPointer(this)); ``` Refs: - https://www.mql5.com/en/docs/common/getpointer
Class: `String` ``` ./../String.mqh:100:19: error: use of undeclared identifier 'StringGetCharacter' ushort usep = StringGetCharacter("\n", 0); ^ ``` Refs: - https://www.mql5.com/en/docs/strings/stringgetcharacter
- Class: `DictBase` Similar to `ToJSON()`, we need simpler method `ToString()`, to print values separated by comma. Example: ``` // Test 1 (double). Buffer buff_price; buff_price.Add(SymbolInfoDouble(_Symbol, SYMBOL_ASK)); buff_price.Add(SymbolInfoDouble(_Symbol, SYMBOL_ASK)); Print("Prices:...
- Class: `Dict` Example: ``` Dict d; d.Add("one", 1); d.Add("two", 2); d.Add("three", 3); string keys[]; int values[]; d.CopyTo(keys, values); for (int i=0; i