---
title: "MetaTrader 5 Client Terminal build 240 - Release Notes"
description: "MQL5: Added optional parameters: ENUM_CODEPAGE codepage=CP_ACP in the CharArrayToString, StringToCharArray and FileOpen functions. - Release Notes"
image: "https://www.metatrader5.com/i/logo_metatrader5.png"
url: "https://www.metatrader5.com/en/releasenotes/terminal/240"
---

# MetaTrader 5 Client Terminal build 240

## MQL5: Added optional parameters: ENUM_CODEPAGE codepage=CP_ACP in the CharArrayToString, StringToCharArray and FileOpen functions

21 January 2010

1.  MQL5: Added optional parameters: ENUM_CODEPAGE codepage=CP_ACP in the CharArrayToString, StringToCharArray and FileOpen functions.
2. MQL5: Fixed errors arising when working with static arrays.
3. MQL5: Ability to set a breakpoint in the 'do while' loop condition.
4. Terminal: Fixed applying ticks to history during a day change.
5. Terminal: Fixed an error in the Expert Advisor's list of variables.
6. Terminal: Added processing the graphical objects creation and deletion events: CHARTEVENT_OBJECT_CREATE and CHARTEVENT_OBJECT_DELETE.
7. Terminal: Fixed Emai send error.

**Earlier publications:**

- [MetaTrader 5 Client Terminal build 239](https://www.metatrader5.com/en/releasenotes/terminal/239)
- [MetaTrader 5 Client Terminal build 238](https://www.metatrader5.com/en/releasenotes/terminal/238)
- [MetaTrader 5 Client Terminal build 237](https://www.metatrader5.com/en/releasenotes/terminal/33)
- [MetaTrader 5 Client Terminal build 235](https://www.metatrader5.com/en/releasenotes/terminal/235)
- [MetaTrader 5 Client Terminal build 234](https://www.metatrader5.com/en/releasenotes/terminal/234)
