Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnWizards IDE Wizards
» Suggestion: Block lines (if then, begin end)
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: Suggestion: Block lines (if then, begin end)
jac2jac2
新警察
UID 40771
Digest Posts 0
Credits 11
Posts 3
点点分 11
Reading Access 10
Registered 2008-8-11
Status Offline
#1
Post at 2008-9-5 18:13
Profile
|
Blog
|
P.M.
Suggestion: Block lines (if then, begin end)
D7.
I think the block lines are amazing, they really help.
The only time the fall short is when you have an if then else, where the else element is a single statement. Normally indentation ensures it is obvious that the next line after the else statement is always executed. It would be good if the line could extend to the end of that else statement, to make it obvious.
e.g.
|if something then
| do
|else
| do something else;
Carry on
I hope that makes sense.
As always, thanks for a great package.
jac2jac2
新警察
UID 40771
Digest Posts 0
Credits 11
Posts 3
点点分 11
Reading Access 10
Registered 2008-8-11
Status Offline
#2
Post at 2008-9-5 18:17
Profile
|
Blog
|
P.M.
example.
Image Attachment
: [example]
2008-09-05_1058.png
(2008-9-5 18:17, 7.28 K)
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#3
Post at 2008-9-5 20:31
Profile
|
Blog
|
P.M.
Oh, our lines now only process to the keywords, no analysis to the clauses between keywords.
If add this function, it will changes a lot in our code for our design limitation.
And if the clause after else is included, how about the one after "if then"? And while do, for do? I think it brings much change to our CnWizards.
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-22 06:28
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.009424 second(s), 10 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