No.4 脱字号表达的字符
Caption := ^:^3^7^!^.^
运行一下,我的程序怎么变成zswang的了?
天啊,盗版!黑客!
(^_^)
Caption := ^:^3^7^!^.^
运行一下,我的程序怎么变成zswang的了?
天啊,盗版!黑客!
(^_^)
解决方案 »
- 窗体缩小时如何调整右边的滚动条在最顶点
- delphi 2006 安装失败。
- 用TextRect向listbox里输出字符串,显示正确,但当将该form切换到后台再返回时,以前的显示全没了,如何找回以前的textRect输出显示呢?
- 请问delphi里面调用外面的一个可执行文件的函数是什么?
- single类型怎么如此不精确啊。
- 祝D版的兄弟姐妹们国庆快乐(Borland中国&游民)---散分之三
- 回复人:Taken(铁拳)来收剩下的80分
- VB的ACTIVEX在DELPHI下能用吗?怎么用?
- 文件操作问题(我查看了以前的帖子,都找不到答案,希望各位高手帮忙)
- 这是不是delphi的一个错误啊?!!
- (新!新!新!)如何找回不能打开硬盘分区中的数据?
- 可用分之“爱心”赠送
NO 3
Catpion 写错了
^m^k怎么表示为空?
Syntax {$MESSAGE HINT|WARN|ERROR|FATAL 'text string' }
ResThe message directive allows source code to emit hints, warnings, and errors just as the compiler does. This is similar to #emit or pragma warn in C and C++.
The message type (HINT, WARN, ERROR, or FATAL) is optional. If no message type is indicated, the default is HINT. The text string is required and must be enclosed in single quotes.
Examples: {$MESSAGE 'Boo!'} emits a hint {$Message Hint 'Feed the cats'} emits a hint
{$messaGe Warn 'Looks like rain.'} emits a warning
{$Message Error 'Not implemented'} emits an error, continues compiling
{$Message Fatal 'Bang. Yer dead.'} emits an error, terminates compiler
{TODO -cMessage -oAll :哈哈}
I := StrToInt('0xA3E'); // 没错,是C里面的0xA3E,而不是Dephi中的$A3E
// StrToInt允许C里面的表示方法,
// 但整数不能直接用 I := 0xA3E;
begin
{$MESSAGE HINT '看一看'}
end;------在 D5 下通不过?
var S: string;
begin
Str(123456.7890:0:2, S); //直接学Delphi的人大多数不会知道
Caption := S;
end;
Width 0:有什么特殊意义?我写成任何一个数字好像都没什么变化?
to zhangking: Delphi6 调试通过//看来Delphi5之前还没有 :(
to lz_0618: 这是object pascal的语法问题,具体请参考我提供的连接
to 5200: 作用?就看你怎么发挥了//知道总比不知道好
表达式[:宽度[:小数]] //宽度不足自动冲宽
Str(123456.7890:1000:2, S); //你就没有试试!//呵~~
特别是C,怪起来看都看不懂!
Step.2 回答的帖子整理问答区(FAQ)中 +5
Step.3 技术区的帖子被转换到非技术区 -3
with Memo1, DBEdit1, Edit1 do begin
ShowMessage(Text);
ShowMessage(Lines.Text);
ShowMessage(Field.AsString);
end;