char in comment

 
int start()
{  
  string char[256]; int i;

  for (i = 0; i < 256; i++) char[i] = CharToStr(i);

  Comment
  (
    /* Copyright © 2009, Sergey Kravchuk*/ 
    char[67]  + char[111] + char[112] + char[121] + char[114] + char[105] + char[103] +
    char[104] + char[116] + char[32]  + char[169] + char[32]  + char[50]  + char[48]  +
    char[48]  + char[57]  + char[44]  + char[32]  + char[83]  + char[101] + char[114] +
    char[103] + char[101] + char[121] + char[32]  + char[75]  + char[114] + char[97]  +
    char[118] + char[99]  + char[104] + char[117] + char[107]
  );
  return(0);
}

This worked in earlier version, but it gives errors now. Any help please?

 

New/delete/class/char/etc. are keywords since build 600 and Higher — 2014.02.03

  1. Replace char with a variable name.
  2. Or delete your array and cast your ints to chars: char(111).
  3. Or just create the string directly:
    "\67\111\112\121\114\105\103\104\116\32\169\32\50\48\48\57\44\32\83\101\114\103\101\121\32\75\114\97\118\99\104\117\107"
 
Topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I will move your topic to the MQL4 and Metatrader 4 section.
 
William Roeder:

New/delete/class/char/etc. are keywords since build 600 and Higher — 2014.02.03

  1. Replace char with a variable name.
  2. Or delete your array and cast your ints to chars: char(111).
  3. Or just create the string directly:

Thank you :)

 
Keith Watford:
Topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I will move your topic to the MQL4 and Metatrader 4 section.

I will keep that in mind. Thank you :)

Reason: