发信人: NSgan (0558·令吾勿拔·守身如玉小王子|开始努力), 信区: ANSI
标 题: Re: [组二]第二章作业 by UNO
发信站: 日月光华 (2007年08月07日19:51:37 星期二), 站内信件
啊作品不错,提两个建议,一个刚才上面妖精雨姐姐说了那根绿的斜条中间有点错位
第二,红条和绿条交汇的地方用了色块,结果导致不用无缝看的时候透明效果不佳。。
。把色块去掉直接用空格背景色做吧。。。
简化代码么,你的答案是:*[1;4;5;45;31mA*[0;45;32mB*[42mC*[0m
有一个小小的不足,最后的*[0m其实可以换成*[m,更省
但是我奇怪的是你的简化效果为什么会是错的呢?
你的简化效果的代码似乎是:*[1;4;5;45;31mA*[0;40;32mB*[42mC*[m
一个数字的差别,粗心了啊。。。
哎呀。。。简化是对的,但是断行可不一定啊,你想想你在yanxi贴图的时候可不会出现
断行的问题吧。。。
【 在 NSgan (0558·令吾勿拔·守身如玉小王子|开始努力) 的大作中提到: 】
【 以下文字转载自 NSgan 的信箱 】
【 原文由 UNO 所发表 】
◢◣
◢时 ◣
◥ 光 ◣
◥ 的 ◣
◥ 歌 ◣
◥ 入 ◣
◥ 海 ◣
◥ 流 ◣
◥ ◣ 终 我 分 走
◥ ◣ 于 们 头
◥ ◣
◥ ◣
◥██◤ 没有哪个港口是永远的停留
◥◤
原代码:*[1m*[4m*[5m*[33;45;31mA*[0m*[44;45;32mB*[0m*[42;32mC*[0m
简化代码:*[1;4;5;45;31mA*[0;45;32mB*[42mC*[0m
简化效果:ABC
规范代码的意义
规范代码一方面可以简化,有时一行中代码超过254限制被迫断行显示,那么
通过简化就可以避免断行,破坏作品的美观。另一方面规范代码就象寻找到一
种国际通用的语言一样,方便大家的修改和编辑。
--
--
--
--
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ANSI 2007 暑期短期培训班
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
如有任何疑问,请到4区ANSI版咨询。报名事宜请参考ANSI版置底
※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM: 61.170.224.15]
※ 修改:·NSgan 於 08月07日19:51:48 修改本文·[FROM: 61.170.224.15]
Sender: NSgan 0558 Tell me not to pull out the little prince, keep your body like a jade, start working hard, message area: ANSI
Title: Re: [Group 2] Chapter 2 Assignment by UNO
Sending site: Sun and Moon Guanghua Tuesday, August 07, 2007 19:51:37, site mail
Ah, the work is good. I would like to make two suggestions. One is that Sister Fairy Rain mentioned above that the green diagonal strip is a bit misaligned in the middle.
Second, a color block is used where the red and green bars meet. As a result, the transparency effect is not good when you don’t need to see it seamlessly.
Remove the color blocks and use the space background color directly.
Simplify the code? Your answer is *[1;4;5;45;31mA*[0;45;32mB*[42mC*[0m
There is a small drawback. The last *[0m can actually be replaced by *[m, which is more economical.
But what I'm curious about is why your simplified effect is wrong.
Your code for the simplified effect seems to be *[1;4;5;45;31mA*[0;40;32mB*[42mC*[m
The difference of one number is so careless.
Oops, simplification is correct, but line breaks are not necessarily necessary. Think about it, it won’t appear when you post pictures in yanxi.
Is it a line breaking problem?
In the masterpiece of NSgan 0558 "Ling me not to pull out, the little prince who keeps his body like jade and starts working hard" mentioned:
The following text is reproduced from NSgan’s mailbox
Originally published by UNO
hour
Light
of
Song
enter
ocean
flow
Eventually I will leave separately
On their heads
No port is a permanent stop
Original code *[1m*[4m*[5m*[33;45;31mA*[0m*[44;45;32mB*[0m*[42;32mC*[0m
Simplified code *[1;4;5;45;31mA*[0;45;32mB*[42mC*[0m
Simplify effect ABC
The meaning of normative code
On the one hand, standardized code can be simplified. Sometimes the code in a line exceeds the limit of 254 and is forced to be broken and displayed. Then
By simplifying, you can avoid line breaks that ruin the beauty of the work. On the other hand, standardizing the code is like finding a
It is the same as an internationally accepted language, which is convenient for everyone to modify and edit.
ANSI 2007 Summer Short-term Training Course
If you have any questions, please consult the ANSI version of Zone 4. For registration information, please refer to the bottom of the ANSI version.
Source: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 61.170.224.15]
Modification: NSgan modified this article at 19:51:48 on August 7th [FROM: 61.170.224.15]