variable.mqh
#property copyright "Copyright 2019, MetaQuotes Software Corp." #property link "https://www.mql5.com" #property strict struct firststr { int first; int second; };
library
#property library #property copyright "Copyright 2019, MetaQuotes Software Corp." #property link "https://www.mql5.com" #property version "1.00" #property strict #include <variable.mqh> int test() { firststr arr[1]; arr[0].first = 10; return(0); }

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
It is possible to inlude struct in library? When i try to do it then occurs error "ambiguous call to overloaded function with the same parameters".
See below example.