Errors, bugs, questions - page 2925

 
Followed the MT4 example "STRINGS: ASCII CHARACTERS TABLE AND USE"

//+------------------------------------------------------------------+
//| StringLowerCase |
//+------------------------------------------------------------------+
string StringLowerCase(string str)
  {
   string s = str;
   int lenght = StringLen(str) - 1, symbol;
   while(lenght >= 0)
     {
      symbol = StringGetChar(s, lenght);
      if((symbol > 64 && symbol < 91) || (symbol > 191 && symbol < 224))
         s = StringSetChar(s, lenght, symbol + 32);// тут possible loss of data due to type conversion
      else
         if(symbol > -65 && symbol < -32)
            s = StringSetChar(s, lenght, symbol + 288);// тут possible loss of data due to type conversion
      lenght--;
     }
   return(s);
  }
//+------------------------------------------------------------------+
//| StringUpperCase |
//+------------------------------------------------------------------+
string StringUpperCase(string str)
  {
   string s = str;
   int lenght = StringLen(str) - 1, symbol;
   while(lenght >= 0)
     {
      symbol = StringGetChar(s, lenght);
      if((symbol > 96 && symbol < 123) || (symbol > 223 && symbol < 256))
         s = StringSetChar(s, lenght, symbol - 32);// тут possible loss of data due to type conversion
      else
         if(symbol > -33 && symbol < 0)
            s = StringSetChar(s, lenght, symbol + 224);// тут possible loss of data due to type conversion
      lenght--;
     }
   return(s);
  }

If you don't mind, please help me fix it...
 
The code does not come to my phone when I register, it came to my mail, but not to my phone. I tried another number, but nothing came out. Can you tell me if anyone has had such a problem?
 

32 bit computer, home computer

deep night, 5 big positions open on real account, EA is working

- mt5 is trying to refresh

- I want to go for a refresh or I want to postpone ?

- I say postpone !

- But if I was drinking tea in the kitchen at the same time the update would have started ?

Документация по MQL5: Константы, перечисления и структуры / Состояние окружения / Информация о счете
Документация по MQL5: Константы, перечисления и структуры / Состояние окружения / Информация о счете
  • www.mql5.com
Информация о счете - Состояние окружения - Константы, перечисления и структуры - Справочник MQL5 - Справочник по языку алгоритмического/автоматического трейдинга для MetaTrader 5
 
Denis Sartakov:

32 bit computer, home computer

deep night, 5 big positions open on real account, EA is working

- mt5 is trying to refresh

- I want to go for a refresh or I want to postpone ?

- I say postpone !

- But if I was drinking tea in the kitchen at the same time, the update would have started ?

No idea, I don't drink tea at night, much less in the kitchen, only coffee and in the office :)

P.S. And seriously, the window is not made for nothing, until there is no confirmation, nothing will happen.

 
Vitaly Muzichenko:

No idea, I don't drink tea at night, much less in the kitchen - only coffee and in the office :)

P.S. In all seriousness, the window is done for a reason, nothing will happen until there is confirmation.

God willing !

 
Denis Sartakov:

32 bit computer, home computer

deep night, 5 big positions open on real account, EA is working

- mt5 is trying to refresh

- I want to go for a refresh or I want to postpone ?

- I say postpone !

- If I was drinking tea in the kitchen at the same time, the update would have started ?

It wouldn't. And from what I understand, these updates are for 64 bit. On 32 bit these updates will not work. It was posted on a forum somewhere.

Please correct me if I am wrong.

 
Valeriy Yastremskiy:

It wouldn't run. And from what I understand, these updates are for 64 bit. These updates would not work on 32 bit. It was on the forum somewhere.

Correct me if I'm wrong.

They won't, but if you press the button, it will reboot.

 
Alexey Viktorov:

They won't, but if you press the button, it will reboot.

The computer or the terminal?

 
Valeriy Yastremskiy:

Compa or terminal?

Galaxy :)

 
Artyom Trishkin:

Galaxies :)

After an incorrect update, it is quite possible to reboot the computer. The terminal can't roll back without rebooting, it stops/unloads anyway to start the update.

It's a good idea to check if the version of the axis and maybe something else is suitable for correct updates)

Reason: