发信人: daviddvd (置于死地而后生), 信区: ANSI
标 题: [组五]第二章作业 by WHYade
发信站: 日月光华 (2007年08月07日17:46:03 星期二), 站内信件
【 以下文字转载自 daviddvd 的信箱 】
【 原文由 WHYade 所发表 】
2. 使用透明色效果制作一个ANSI。(书面提交,形式不限)
答: █ █ █ █ █ █
█ █ █ ████ █ █
█ █ █ █ █ █
█ █ █ █ █
3. 简化以下代码。(书面提交,提交简化后代码及显示效果)
*[1m*[4m*[5m*[33;45;31mA*[0m*[44;45;32mB*[0m*[42;32mC*[0m
答:*[1;4;5;45;31mA*[0;45;32mB*[0;42;32mC*[0m
ABC
4.规范代码的意义。(书面提交,字数不限)
答:我认为在规范代码这个方面,ANSI和一般的软件有许多共通之处。比如软件的可移
植性,就是转移到其他环境时代码修改尽可能少,也就是代码中尽可能减少随环境不同
的部分,在ANSI的规范代码中就是作品中代码尽量通用,依显示终端而不同的下划线和
反色等代码尽量少的使用;还有软件编写所强调的良好的风格,指明很多虽然不一定会
带来错误但要尽量避免的做法,在ANSI的规范代码中就是不要遗漏*[0m或*[0m。由于ANS
I代码直接决定显示内容的特殊性,代码规范中还需要注意不应影响他人阅读以及容易使
眼睛疲劳等等。
--
夫金牛者,所执益重,所失益多。然则法不可取。唯其情,感天动地,神恸鬼泣;唯其念
,白日可昭,皓月可表;唯其势,上彻九天,下搅黄泉。
※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM: 10.130.201.33]
--
※ 转寄:·日月光华 bbs.fudan.edu.cn·[FROM: 10.130.201.33]
--
※ 转载:·日月光华 bbs.fudan.edu.cn·[FROM: 211.99.222.55]
Sender: daviddvd put himself to death and live again, message area: ANSI
Title: [Group 5] Chapter 2 Homework by WHYade
Sending site: Sun and Moon Guanghua Tuesday, August 07, 2007 17:46:03, site mail
The following text is reproduced from daviddvd's mailbox
Originally published by WHYade
2. Use transparent color effects to create an ANSI written submission in any format
answer
3. Simplify the following code and submit it in writing. Submit the simplified code and display effect.
*[1m*[4m*[5m*[33;45;31mA*[0m*[44;45;32mB*[0m*[42;32mC*[0m
Answer *[1;4;5;45;31mA*[0;45;32mB*[0;42;32mC*[0m
ABC
4. Standardize the meaning of the code. Written submission. No limit on the number of words.
Answer I think ANSI has many things in common with general software in terms of standardizing codes, such as the portability of software.
Implantability means that the code changes as little as possible when transferred to other environments, that is, the code changes with the environment as little as possible.
In the ANSI standard code, the code in the work is as common as possible. The underscores and
Use anti-color and other codes as little as possible, and also emphasize the good style of software writing. It indicates a lot, although it may not be possible.
The practice that brings errors but should be avoided as much as possible is not to omit *[0m or *[0m in the ANSI specification code. Because ANS
The I code directly determines the particularity of the displayed content. In the code specification, attention should also be paid to not affecting other people’s reading and ease of use.
Eye fatigue etc.
If you are a Taurus person, what you gain is heavy and what you lose is a lot. However, the law is not advisable, only the emotions. The heaven and the earth move. Gods mourn and ghosts weep. Only their thoughts.
The bright sun can shine, the bright moon can appear, but its power can penetrate the nine heavens above and disturb the underworld below.
Source: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 10.130.201.33]
Forward: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 10.130.201.33]
Reprint: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 211.99.222.55]