Miscellaneous
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 Formatting Guide
# H1
## H2
### H3
**bold text**
*italicized text*
[title](https://www.example.com)

`code`
```
code block
```
> blockquote
- Item 1
- Item 2
1. First item
2. Second item
---