asc码
我只会用delphi支持到0-127,要显示128-255的字符怎么办???
我只会用delphi支持到0-127,要显示128-255的字符怎么办???
解决方案 »
- 看看是不是SQL写错了
- MainMeun 菜单 许多子项目的时候 点的时候子菜单会上移。
- 返回记录数量
- BREAK or CONTINUE outside of loop 这种错误怎么解决
- 用TMediaPlayer播放视频遇到的问题?
- delphi中TAPI编程的问题?
- 大家帮帮忙
- 请教如何用Delphi驱动MO
- 又花了一个多月时间,多了一颗星,以后可能会少来了,要专心学Java,如果要我帮忙可以到我的主页上留言!祝大家在Delphi版过得开心!!我
- 取系统时间问题:
- 找程序员工作,地方:广州,vc delphi bcb orace mssql都可以
- 窗体的clientheight应该是除去标题栏的高度,那么再除去菜单的高度应该怎么表示呢?
Operator Operation Operand types Result type Examples
not bitwise negation integer integer not X
and bitwise and integer integer X and Y
or bitwise or integer integer X or Y
xor bitwise xor integer integer X xor Y
shl bitwise shift left integer integer X shl 2
shr bitwise shift right integer integer Y shr I
The following rules apply to bitwise operators.The result of a not operation is of the same type as the operand.
If the operands of an and, or, or xor operation are both integers, the result is of the predefined integer type with the smallest range that includes all possible values of both types.
The operations x shl y and x shr y shift the value of x to the left or right by y bits, which (if x is an unsigned integer) is equivalent to multiplying or dividing x by 2^y; the result is of the same type as x. For example, if N stores the value 01101 (decimal 13), then N shl 1 returns 11010 (decimal 26). Note that the value of y is interpreted modulo the size of the type of x. Thus for example, if x is an integer, x shl 40 is interpreted as x shl 8 because an integer is 32 bits and 40 mod 32 is 8.
var
d:byte;
s:string;
begin
d:=222;
s:=chr(d);
showmessage(s);
end;