Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 代码编辑器专家 赋值交换 Bug
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 代码编辑器专家 赋值交换 Bug
jsea
新警察
UID 651
Digest Posts 0
Credits 2
Posts 2
点点分 2
Reading Access 10
Registered 2005-1-17
Status Offline
#1
Post at 2005-8-29 20:25
Profile
|
Blog
|
P.M.
代码编辑器专家 赋值交换 Bug
赋值交换
case语句中,比如
case I of
0: a := b;
end;
"0: a := b;" 赋值交换以后变成
"b := 0: a"
felixsun
普通灌水员
UID 231
Digest Posts 0
Credits 51
Posts 44
点点分 51
Reading Access 10
Registered 2003-11-25
Status Offline
#2
Post at 2005-8-30 08:51
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
#3
Post at 2005-8-30 20:55
Profile
|
Site
|
Blog
|
P.M.
多谢报告!
赋值交换现在的功能比较简单,以后版本会改进。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#4
Post at 2005-8-31 10:31
Profile
|
Blog
|
P.M.
不知道这样的用处有多大?!
loze2000
新警察
UID 2223
Digest Posts 0
Credits 4
Posts 4
点点分 4
Reading Access 10
Registered 2006-5-30
Status Offline
#5
Post at 2006-5-30 17:11
Profile
|
Blog
|
P.M.
挺一下
比较喜欢这个功能
比如在数据库读写字段的时候
读出来为
{Tcontrol}.Text := FieldByName('FieldName').AsString;
....
...
...
So多行
要写入数据库的时候,就是要两边交换就行,这个功能就派上大用场了。
[
Last edited by loze2000 on 2006-5-30 at 17:13
]
my58876448
普通灌水员
UID 2118
Digest Posts 0
Credits 58
Posts 58
点点分 58
Reading Access 10
Registered 2006-4-20
Status Offline
#6
Post at 2006-5-31 08:37
Profile
|
Blog
|
P.M.
这个我个人用的倒不多。一般读数据用楼上的,写用SQL了
[
Last edited by my58876448 on 2006-6-2 at 08:27
]
beta
新警察
UID 348
Digest Posts 0
Credits 13
Posts 9
点点分 13
Reading Access 10
Registered 2004-3-23
Status Offline
#7
Post at 2006-6-2 00:19
Profile
|
Site
|
Blog
|
P.M.
还有这样的代码也有问题:
if SomeCondition then X := Y;
不过,在最新的开发版里面已经修正了这个问题 :)
http://www.01cn.net
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-11-24 22:50
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.009433 second(s), 9 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