Discussion of article "MQL5 Programming Basics: Strings"

 

New article MQL5 Programming Basics: Strings is published:

The article covers everything you can do with strings in MQL5. It should be of interest primarily to novice MQL5 programmers, while experienced developers will have a good opportunity to summarize and systematize their knowledge.

MQL5 Programming Basics: Strings

Author: Dmitry Fedoseev

 
add a table of contents at the beginning.
 
Dimitri ! You've got a taste for business. That's good to know.
 
Who can find the gimmick here in the picture in the first post?
 
Alert(Comment) ?
 
Integer:
Who can find the gag here in the picture in the first post?
There are two funny things in there!
 
GODZILLA:
There's two of them!
Is the second one even funny?
 
sergeev:
is the other one even funny?
I don't know! Same as the first one!
 
sergeev:
is the second one even funny?

Semicolon.

I see you've got a fashion trend going on here

 

Dimitri, well done! Way to go!

Personally, I was interested in the question about string length limitations....

A colleague once suggested that:

без символа табуляции длина стремится к 32768 (но этого значения не достигает ~40-70 символов)с символами перевода (через каждые 32000) 2 ляма влазит, дальше не пробовал. Проверял через печать в файл...


...There is apparently implemented recurrent coding of memory access, this is when initially allocated array char with memory reservation in 32768, but after each tabulation character is allocated a new array and the previous one is written to the pointer to the new one.
In this way you can organise almost infinite length.

Документация по MQL5: Основы языка / Типы данных / Тип string
Документация по MQL5: Основы языка / Типы данных / Тип string
  • www.mql5.com
Основы языка / Типы данных / Тип string - Документация по MQL5
 
What's the second one? The absence of " ; " after the operator?