Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 能不能增加这个功能
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 能不能增加这个功能
风云剑客
新警察
UID 637
Digest Posts 0
Credits 6
Posts 6
点点分 6
Reading Access 10
Registered 2005-1-9
Status Offline
#1
Post at 2005-1-27 04:23
Profile
|
Blog
|
P.M.
能不能增加这个功能
{$IFDEF debug}
k := 0;
if buf.Way = 1 then
s1 := '接收'
else if buf.way = 2 then
s1 := '发送';
s := '';
WriteLog('----------------' + s1 + '--start--------------------');
for i := 0 to len - 1 do
s := s + ' ' + IntToHex(buf.buf[i], 2);
WriteLog(' ' + s);
{$ENDIF}
就是自动对选定的代码加上
{$IFDEF debug}
////////////////
{$ENDIF}
其中 debug这个是可以自定义的
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#2
Post at 2005-1-27 08:10
Profile
|
Site
|
Blog
|
P.M.
好主意,考虑在下一版本增加自定义代码嵌入功能。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
leeon
新警察
UID 259
Digest Posts 0
Credits 22
Posts 22
点点分 22
Reading Access 10
Registered 2003-12-9
Status Offline
#3
Post at 2005-1-27 12:49
Profile
|
Blog
|
P.M.
是啊。编译预处理嵌入也是应该加入的。
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#4
Post at 2005-1-27 12:52
Profile
|
Site
|
Blog
|
P.M.
我打算改进代码嵌入:允许用户自定义首尾的内容和正文的缩进量,定义任意多的项。
另外,再增加代码替换:可以把选择的代码中一组字符串替换成另一组,支持自定义任意多的项。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6804
Posts 3577
点点分 6804
Reading Access 102
Registered 2004-3-28
Status Offline
#5
Post at 2005-1-28 19:35
Profile
|
Blog
|
P.M.
风云剑客和我想的一样。^_^
DelphiSharp
新警察
UID 563
Digest Posts 0
Credits 17
Posts 17
点点分 17
Reading Access 10
Registered 2004-11-15
Status Offline
#6
Post at 2005-3-1 10:05
Profile
|
Blog
|
P.M.
这个功能好!
kendling
(小冬)
高级版主
MyvNet
UID 703
Digest Posts
5
Credits 978
Posts 580
点点分 978
Reading Access 101
Registered 2005-2-18
Location 广东
Status Offline
#7
Post at 2005-3-2 13:37
Profile
|
Site
|
Blog
|
P.M.
|
|
其实这个功能应该在刚开发代码嵌入的功能时就应该想到了。
小冬
http://MyvNet.com
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-9-8 07:58
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008331 second(s), 7 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats