What is '\x90'?

 

From the article "HTML Walkthrough Using MQL4" (https://www.mql5.com/en/articles/1544) :


   int devider='\x90';
   FileHandle=FileOpen(FullFileName,FILE_READ,devider);


Is '\x90' similar to newline character or what? A search in google for this sort of thing is useless... If this is some kind of code I'd appreciate if somebody could post a link to description of these codes...

 
gordon:

From the article "HTML Walkthrough Using MQL4" (https://www.mql5.com/en/articles/1544) :



Is '\x90' similar to newline character or what? A search in google for this sort of thing is useless... If this is some kind of code I'd appreciate if somebody could post a link to description of these codes...

This should be a delimiter when working with CSV files for example. But it seems a non standard character, probably system dependent...

 

Hmmm.... well, I couldn't find it in any ASCII tables. I would like to know which character it is and why he is using it... And regarding 'system dependent' - 99% of us in this forum use windows, no?

 
gordon:

Hmmm.... well, I couldn't find it in any ASCII tables. I would like to know which character it is and why he is using it... And regarding 'system dependent' - 99% of us in this forum use windows, no?

hello.

at the moment my research looks like this:

x90 is in the upper part of the code table, ascii is 0-80hex (0-127 dec)

i have found no info about x90, but all codetable reserve the first 32 signs.

looking in the ascii table for x90-x80=x10=d16 shows

DLE=Data Line Escape

maybe that x90 is the countryspecific sign for the x10 DLE


greetings

 
The x indicates the value following is to be interpreted as a hexadeciaml number.
 

Meikel, i imagine u r right... This seems to fit the code since he is using it on an HTML file (which is not delimited).

Phy, usually 0x indicates hexadecimal... I have never heard of \x for that. Is this MQL4 specific? Is this documented anywhere on MQL4.com (I can't find anything)?

 

:)) ... now I get it ... it is an ASCII char in hex (in this case hex 90 = dec 144) (http://blogs.msdn.com/csharpfaq/archive/2004/03/12/88415.aspx), and apparently the guy who wrote that article doesn't want to brake it's file into multiple lines (as a divider will do) ... and he did choose an very rare character as a divider ...

Reason: