Append To File

A lot of my friends have asked how to append a string to the end of existing file. They complain about the MetaTrader and MQL4 documentations about this issue!

I've create a function FileAppend and this script is an example uses the FileAppend function.
FileAppend Function:

The FileAppend function takes 2 parameters:

FileName: The file name you want to append to! if the file is not exist the function will create it!

TextToAppend: The string you want to append to the end of the file!

Enjoy yourself! and tell me your comment!