Author: Copyright 2019, MetaQuotes Software Corp.
Miscellaneous
It issuies visual alerts to the screen
0 Views
0 Downloads
0 Favorites
Test_v6
//+------------------------------------------------------------------+
//|                                                         test.mq5 |
//|                        Copyright 2019, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2019, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
#include <MyMQLLib\Objects\Array\CTuple.mqh>


tuple_value_pack(2,8)<int,double> _test={15,0.25};


void OnStart()
  {
   tuple(2)<int,double>* temp=_test.GetTuple();
   tuple(2)<int,double> temp_2=temp;
   Alert("Size: ",sizeof(_test));
   Alert(temp_2==_test);
   Alert(temp.Item1);
   Alert(temp.Item2);
   delete temp;
  
  }
//+------------------------------------------------------------------+

Comments

Markdown supported. Formatting help

Markdown Formatting Guide

Element Markdown Syntax
Heading # H1
## H2
### H3
Bold **bold text**
Italic *italicized text*
Link [title](https://www.example.com)
Image ![alt text](image.jpg)
Code `code`
Code Block ```
code block
```
Quote > blockquote
Unordered List - Item 1
- Item 2
Ordered List 1. First item
2. Second item
Horizontal Rule ---