Problem solve : there is no limitation of 256 character length for a string :)
The only limitation is for initialisation with quotes "".
But a string variable could have a thousands of length.
And for information a Print(my_string_var) is limited to 256 characters too... :)
Bye,
Erwann.

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
Hi programmers,
I try to read a Json file and get somes values from it. For that I use the JAson.mqh library (for MQL5).
It works perfectly for a little file which not exceed 255 characters (max allowed for a string value).
But for a larger file, that cause an issue because the string value is limited to 255 character.
My questions are :
- how could it be possible to have a string value without limited length ?
- Is ther any solutions for reading Json larger file (sample code could be appreciate)
Many thanks !
Erwann.