Home > Back-end >  CRH (12590) in the Delphi how convert?
CRH (12590) in the Delphi how convert?

Time:09-18

In the asp CRH (12590) said I

How to turn in Delphi?
Edit3. Text:=CRH (12590); Can't turn

CodePudding user response:

That can be converted directly, but the transformation of character is not visible characters

 Edt_1. Text:=IntToStr (word (CRH) (12590)); 

CodePudding user response:

 Edt_1. Text:=CRH (12590); 


May be used, but is invisible characters,

Windows 7 + D7 environment

CodePudding user response:

refer to the second floor hongss response:
 Edt_1. Text:=CRH (12590); 


May be used, but is invisible characters,

Windows 7 + D7 environment

But the CRH (12590); Content is "I" is not invisible characters

CodePudding user response:

Delphi a Chinese character is considered to be two characters
Dlphi7, SHR moves to the right to take the first 8 bytes, AND by 255 AND take the second byte
 Edit3. Text:=Concat (CRH (12590-8 SHR), CRH (12590 AND 255)); 

CodePudding user response:

Under Delphi 2010 version CRH (n), return to ASCII,
Delphi 2010 above, using the unicode, CRH (n), the return is unicode,
Returns the ASCII 0-255, more than the range, sometimes cannot display character, such as within the scope of the Chinese characters, return $4 e00 ~ $9 an integer between fa5
  • Related