发信人: Castellio (percyshelley|Right to Heresy), 信区: ANSI
标 题: ANSI培训班第二章作业 by cindyy
发信站: 日月光华 (2010年02月28日15:27:28 星期天), 站内信件
1、透明色
2、*[1;4;5;45;31mA*[m*[45;32mB*[m*[42;32mC*[m
3、一个是可以简化代码,减少冗余,因为bbs每行代码有长度限制(254字符),活动看板
等要求更高;也使代码可读性更强,比如每行或每段结束后都以*[m结尾,这样也避免影
响到下一行,虽然代码一般可能不大会有人读。。。
另外就是规范代码可以使代码更加通用,不同的浏览终端对于有些代码的显示可能会不
同,下划线反色等代码要尽量少用;规范代码还给他人浏览以方便,比如少用闪烁等
--
__ __ __ __ . - . /_/___
_ /\_\ _ _\ \ _ /_/_ _ /_/ . .|\ .\(_]_@_ hizsy赠
\ \/\_\ \ \-\_\ \ \/\_\ \ \__ . ./( ./` . .
\_\_\ \_\_\ \_ /_/ \_ /_/ . . . ) \/ . . .
. | )\) . .
释放光和热 留下爱与诚 . . . \(o/ . . .
※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM: 222.70.237.*]
Sender: Castellio percyshelley Right to Heresy, Area: ANSI
Title: Chapter 2 Assignment of ANSI Training Course by cindyy
Sending site: Sun and Moon Guanghua February 28, 2010 15:27:28 Sunday, site mail
1 transparent color
2 *[1;4;5;45;31mA*[m*[45;32mB*[m*[42;32mC*[m
3 One is to simplify the code and reduce redundancy because bbs has a length limit of 254 characters for each line of code.
When the requirements are higher, it also makes the code more readable. For example, each line or paragraph ends with *[m. This also avoids affecting the
echo to the next line, although the code may not be read by many people.
In addition, standardizing the code can make the code more versatile. Different browsing terminals may display some codes differently.
Codes such as underlining and inverting should be used as little as possible. Standard codes also make it easier for others to browse. For example, use less flashing, etc.
. .
. . . ]@hizsygift
. . . . . .
. . . . . . .
. . .
Release light and heat, leave love and sincerity. . . o . . .
Source: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 222.70.237.*]