标题: [游戏娱乐] 幼儿学算术 V1.0 [批处理动态彩色界面开发] [打印本页]
作者: netbenton 时间: 2010-10-14 18:56 标题: 幼儿学算术 V1.0 [批处理动态彩色界面开发]
本帖最后由 netbenton 于 2011-10-10 18:48 编辑
写给小朋友练习算术用的东东~~~~
创意来自 Batman 的
【练习-061】小学生加减法算式批处理生成器http://bathome.l3.wuyou.com/viewthread.php?tid=9360&highlight=%D0%A1%D1%A7
使用方法:
开始提示时,输入计算结果的最大上限值,直接回车默认为10。
然后就出现一个随机的计算式子和彩色的问号,提示输入结果。
输入一个结果后回车。(在输入数字时,可以用BAckspace键进行修改)
如果结果正确显示“勾”和笑脸,结果错误显示“叉”和哭脸。(注意:脸的眼睛和嘴巴是会动的哦!!)
syxq.com 要让批处理的文本动起!!!- @echo off&color 1f
- :::: Code by NetBenton from Bathome
- :::: syxq.com 由Netbenton 与 SYBC 共同开发
- goto :b
- a
- db, 0E 58 80 C4 10 8E D0 80 C4 10 A3 34 01 EB 35 53 59 58 51 20
- db, 76 32 2E 34 00 43 6F 64 65 20 62 79 20 4E 65 74 62 65 6E 74
- db, 6F 6E 20 61 6E 64 20 53 59 42 43 00 00 00 00 00 00 00 0B 0A
- db, 01 01 01 00 00 00 00 00 B8 00 09 31 C9 CD 10 BE 82 00 1E E8
- db, AA 05 1E 2E 8F 06 36 01 1F E8 17 00 0E 1F 80 3E 9A 0B 01 75
- db, 07 BA 9D 0B B4 09 CD 21 A0 3F 01 B4 4C CD 21 55 89 E5 83 EC
- db, 02 B3 01 31 C9 56 AC 3C 0A 75 02 EB 40 3C 0D 75 02 EB 3A 3C
- db, 00 75 02 EB 34 3C 20 74 02 E2 E7 80 F9 00 75 05 83 C4 02 EB
- db, DC F7 D9 89 76 FE 5E 53 E8 09 05 1E E8 1A 05 80 3C 00 74 03
- db, E8 1B 00 1F 5B 83 FB 00 75 02 EB 0E 8B 76 FE EB B6 E3 04 31
- db, DB EB CC 83 C4 02 89 EC 5D C3 AC 3C 30 75 17 E8 F0 03 88 C6
- db, E8 EB 03 88 C2 52 B4 0F CD 10 5A B4 02 CD 10 E9 33 01 3C 31
- db, 75 06 E8 A5 09 E9 29 01 3C 32 75 06 E8 24 01 E9 1F 01 3C 33
- db, 75 30 06 68 00 B8 07 E8 96 03 50 E8 B8 03 89 C1 58 E3 1B 47
- db, AA E2 FC 8A 64 FF 80 FC 00 74 0F 80 FC 40 75 08 FE C6 50 E8
- db, 89 03 EB DF EB D9 07 E9 EB 00 3C 34 75 06 E8 36 FF E9 E1 00
- db, 3C 35 75 22 80 3C 30 75 06 2E C6 06 11 08 01 2E FF 36 34 01
- db, E8 6E 05 3C 00 75 04 88 E0 0C 80 2E A2 3F 01 E9 BB 00 3C 36
- db, 75 50 06 1E 68 00 B8 07 E8 31 03 E8 54 03 89 C1 28 D1 E8 4D
- db, 03 88 C7 8A 44 FF 3C 24 75 03 BF 08 FC 3C 23 75 03 BF 20 FC
- db, 3C 40 75 03 BF 24 00 2E 89 3E A5 02 06 1F 51 E8 15 03 89 FE
- db, AD EB 0E AB E2 FA 59 FE C6 38 DE 76 ED 1F 07 EB 6C C0 C4 04
- db, EB ED 3C 39 75 63 E8 E3 02 88 5C FF 80 E3 F0 56 AC 3C 23 75
- db, 02 EB 15 3C 00 75 02 EB 4C 3C 3A 76 02 2C 07 24 0F 08 D8 88
- db, 44 FF EB E4 AD 89 C2 5B 8A 27 06 1E 68 00 B8 07 AC 3C 80 72
- db, 04 AB AC EB 25 38 D0 75 03 43 8A 27 38 F0 75 06 AB 4B 8A 27
- db, EB E6 3C 00 75 04 1F 07 EB 0F 3C 2F 75 08 AB AC 3C 80 76 02
- db, AB AC AB EB CF C3 00 06 68 00 B8 07 E8 79 02 2E 88 1E 22 03
- db, 88 FC AC 3C 7D 75 2A 58 80 FC 23 75 0E FE C8 74 05 5E 56 50
- db, EB EC 83 C4 02 EB E7 80 FC 40 75 06 88 C4 88 C3 EB DC 80 FC
- db, 24 75 01 5A E8 58 02 EB D1 3C FF 75 03 E9 0F 02 3C 80 72 07
- db, 88 DC AB AC E9 FA 01 3C 5B 75 0A 2E FF 36 34 01 E8 AE 03 EB
- db, B1 3C 7B 74 03 E9 09 01 AC 3C 48 75 02 EB 7B 3C 68 75 02 EB
- db, 75 3C 3A 75 02 EB 6F 3C 39 77 06 3C 30 72 02 EB 65 3C 7B 75
- db, 02 EB 5F 3C 7D 75 0B AC 3C 00 75 02 07 C3 4E E9 6E FF 3C 26
- db, 75 30 80 3C 26 75 19 46 1E E8 B1 01 50 80 3C 00 74 0A 88 DC
- db, AC 3C 00 74 03 AB EB F8 5E 1F EB 0F 1E E8 99 01 50 80 3C 00
- db, 74 03 E8 8A 01 5E 1F E9 44 FF 3C 20 75 12 60 E8 61 04 2E 89
- db, 36 42 01 61 2E 8B 36 42 01 E9 2E FF 88 C4 B0 00 EB 07 4E E8
- db, BC 01 8A 64 FF 80 FC 23 75 12 3C 00 75 09 AC 3C 7D 74 02 EB
- db, F9 EB 02 56 50 E9 0A FF 80 FC 40 75 0A 88 E7 53 88 C3 88 C4
- db, E9 FB FE 80 FC 2B 75 13 B7 40 53 C0 E0 04 88 C7 81 E3 0F F0
- db, 08 FB 88 DC E9 E3 FE 80 FC 2D 75 10 B7 40 53 88 C7 81 E3 F0
- db, 0F 08 FB 88 DC E9 CE FE 80 FC 24 75 03 52 00 C6 80 FC 55 75
- db, 05 52 28 C6 B4 24 80 FC 7E 75 05 52 00 C2 B4 24 80 FC 4C 75
- db, 05 52 28 C2 B4 24 50 E8 29 01 E9 A1 FE 3C 2F 74 03 E9 AE 00
- db, AC 3C 2D 75 11 AC 88 C4 AC 38 E0 74 04 AA 47 EB F7 88 E3 E9
- db, 84 FE 3C 23 75 12 AC 88 DC 88 C3 AC 38 D8 74 03 AB EB F8 88
- db, E3 E9 6E FE 3C 40 75 12 AC 88 C4 AC 38 E0 74 07 47 26 88 1D
- db, 47 EB F4 E9 58 FE 3C 49 75 02 EB 04 3C 69 75 06 E8 0D 05 E9
- db, 48 FE 3C 43 75 06 E8 A1 05 E9 3E FE 3C 80 72 06 88 DC AB AC
- db, EB 6F 3C 7E 74 02 EB 69 E8 C3 00 8A 64 FF 0F B6 C8 80 FC 2D
- db, 75 0A AC E3 FE AA 47 E2 FA E9 16 FE 80 FC 23 75 08 AC 88 DC
- db, F3 AB E9 09 FE 80 FC 40 75 0C 46 88 D8 E3 FE 47 AA E2 FA E9
- db, F8 FD 80 FC 7E 75 05 00 C2 E9 EE FD EB 27 3C 3F 75 06 C0 C3
- db, 04 E9 E2 FD 3C 3B 75 09 80 C6 01 E8 5D 00 E9 D5 FD 3C 2C 75
- db, 06 83 C7 02 E9 CB FD 3C 00 75 02 EB 0A 88 DC AB E9 BF FD 06
- db, E9 BB FD 07 C3 55 89 E5 83 EC 02 51 31 C9 56 AC 3C 00 75 02
- db, 31 C9 3C 7D 74 02 E2 F3 F7 D9 89 76 FE 5E E8 1B 01 E8 2D 01
- db, 59 8B 46 FE 89 EC 5D C3 E8 23 00 88 C6 E8 1E 00 88 C2 E8 06
- db, 00 E8 16 00 88 C3 C3 52 B0 02 F6 E2 88 C2 B0 A0 F6 E6 B6 00
- db, 01 D0 89 C7 5A C3 AC 3C 7B 75 13 1E E8 A6 FF 50 80 3C 00 74
- db, 03 E8 EE FF 5E 46 1F E9 97 00 3C 68 75 02 EB 04 3C 48 75 0A
- db, 53 E8 8A 00 89 D8 5B E9 83 00 3C 3A 75 5F AC 3C 47 75 1C E8
- db, B4 04 AC 3C 78 75 05 2E 8A 26 38 01 3C 79 75 05 2E 8A 26 39
- db, 01 0F B6 C4 46 EB 5E 3C 53 75 1C E8 AE 04 AC 3C 78 75 05 2E
- db, 8A 26 3A 01 3C 79 75 05 2E 8A 26 3B 01 0F B6 C4 46 EB 3E 3C
- db, 57 75 06 26 8B 05 46 EB 34 4E E8 81 FF 1E 53 68 00 BF 1F 01
- db, C0 89 C3 8B 07 5B 1F EB 20 4E 52 53 31 DB AC 3C 30 72 12 3C
- db, 39 77 0E 2C 30 B4 00 50 B0 0A F7 E3 5B 01 C3 EB E9 89 D8 5B
- db, 5A C3 31 DB AC 88 C4 3C 66 76 02 EB 2E 3C 46 76 0B 3C 61 73
- db, 02 EB 24 80 EC 27 EB 15 3C 39 76 0B 3C 41 73 02 EB 15 80 EC
- db, 07 EB 06 3C 30 73 02 EB 0A C1 E3 04 80 EC 30 08 E3 EB C9 C3
- db, 56 51 AC 3C 61 72 09 3C 7A 77 05 24 DF 88 44 FF E2 F0 59 5E
- db, C3 06 2E FF 36 36 01 07 57 BF 10 00 B0 00 51 56 F3 A6 75 09
- db, 26 80 3D 3D 75 03 47 EB 0E B5 FF F2 AE 26 80 3D 00 74 04 5E
- db, 59 EB E3 5E 59 89 FE 06 1F 5F 07 C3 60 BE 26 00 1E 1E 5B 58
- db, 48 50 1F 40 3B 04 74 04 8B 04 EB F4 03 06 03 00 50 1F 80 3E
- db, 00 00 4D 74 02 EB 09 39 1E 01 00 74 03 40 EB E8 61 C3 C3 00
- db, 00 55 89 E5 83 EC 02 52 89 F8 B2 A0 F6 F2 88 C6 0F B6 C4 B2
- db, 02 F6 F2 88 C2 06 57 1E 8B 46 04 8E D8 57 2E 8B 3E 2B 07 C7
- db, 05 01 00 89 5D 02 89 55 04 8F 45 08 83 C7 0C 89 7D FA 1F 57
- db, 8E C0 C6 46 FE 01 AC 3C 5D 75 07 FE 4E FE 74 36 EB 31 3C 5B
- db, 75 05 FE 46 FE EB 28 3C 80 72 04 AA AC EB 20 3C 09 75 02 B0
- db, 20 3C 00 75 03 4E EB 16 3C 5C 75 09 B0 00 AA E8 28 FE AB EB
- db, C9 3C 2F 75 02 AA AC AA EB C0 B0 00 AA 89 F8 5F 26 89 45 FE
- db, 2E A3 2B 07 5F 07 5A 89 EC 5D C2 02 00 55 89 E5 83 EC 02 60
- db, 1E 06 8B 46 04 8E D8 B4 00 CD 1A 89 56 FE 68 00 B8 07 2E C7
- db, 06 3D 01 01 01 B4 00 CD 1A 39 56 FE 74 06 89 56 FE E8 1E 00
- db, 2E 80 3E 11 08 01 75 02 EB E0 B4 01 CD 16 74 DA 07 1F 61 B4
- db, 00 CD 16 89 EC 5D C2 02 00 00 2E 8B 3E 2B 07 C7 45 06 FF FF
- db, 31 FF 83 7D 06 FF 75 01 C3 FF 0D 75 24 8B 5D 02 8B 55 04 8B
- db, 75 06 57 8B 7D 08 E8 19 00 5F AD 89 05 80 3C 00 74 05 89 75
- db, 06 EB 06 8D 45 0C 89 45 06 8B 7D 0A EB CC 06 E9 DC FA C3 55
- db, 89 E5 83 EC 08 BB FF 0F 89 5E FE 89 5E FC 31 DB 89 D9 89 CA
- db, 8A 1C 46 80 FB 3D 75 06 FF 76 FC 8F 46 FE 80 FB 7D 75 07 B4
- db, 00 B7 00 E9 C1 00 80 FB 30 72 08 80 FB 39 77 03 E9 A3 00 80
- db, FB 48 75 03 E9 9B 00 80 FB 68 75 03 E9 93 00 80 FB 7B 75 03
- db, E9 8B 00 80 FB 3A 75 03 E9 83 00 80 FB 20 75 02 EB B2 80 FB
- db, 2B 75 05 B4 05 E9 83 00 80 FB 2D 75 04 B4 05 EB 7A 80 FB 2A
- db, 75 04 B4 06 EB 71 80 FB 2F 75 04 B4 06 EB 68 80 FB 25 75 04
- db, B4 06 EB 5F 80 FB 3C 75 04 B4 04 EB 56 80 FB 3E 75 04 B4 04
- db, EB 4D 80 FB 24 75 04 B4 03 EB 44 80 FB 5E 75 04 B4 02 EB 3B
- db, 80 FB 7C 75 04 B4 01 EB 32 80 FB 26 75 09 E8 AD FC 01 C0 89
- db, 46 FC 4E 80 FB 28 75 03 80 C7 07 80 FB 29 75 03 80 EF 07 E9
- db, 36 FF 4E E8 90 FC 4E FF 76 FA 8F 46 F8 89 46 FA E9 25 FF 89
- db, D1 00 FC 88 E2 88 DE 38 CA 76 0C FF 76 F8 51 89 D1 E9 10 FF
- db, E9 80 00 8B 46 F8 8B 7E FA 80 FD 2F 75 06 52 31 D2 F7 F7 5A
- db, 80 FD 2D 75 02 29 F8 80 FD 2A 75 04 52 F7 E7 5A 80 FD 2B 75
- db, 02 01 F8 80 FD 25 75 08 52 31 D2 F7 F7 89 D0 5A 80 FD 3C 75
- db, 06 51 89 F9 D3 E0 59 80 FD 3E 75 06 51 89 F9 D3 E8 59 80 FD
- db, 24 75 02 21 F8 80 FD 5E 75 02 31 F8 80 FD 7C 75 02 09 F8 89
- db, 46 FA 59 8F 46 F8 80 F9 00 75 11 80 FB 7D 75 02 EB 0D FF 76
- db, F8 51 89 46 F8 E9 90 FE E9 70 FF 8B 5E FE 81 FB FF 0F 74 08
- db, 1E 68 00 BF 1F 89 07 1F 89 EC 5D C3 55 89 E5 83 EC 04 60 46
- db, AC 3C 20 74 FB 4E E8 C5 FB 89 C3 4E AC 3C 20 74 FB 89 C2 AC
- db, 3C 20 74 FB 4E E8 B2 FB 39 C3 9C 4E AC 3C 5B 75 FB AC 88 C6
- db, C6 44 FF FF 31 FF 89 F1 AC 38 F0 75 FB C6 44 FF FF 80 3C 5D
- db, 74 06 89 CF 89 F1 EB EC 83 FF 00 75 02 87 F9 46 89 76 FE 80
- db, FA 3D 75 02 EB 12 80 FA 3E 75 02 EB 10 80 FA 3C 75 02 EB 0E
- db, 9D 61 EB 27 9D 74 0C EB 0F 9D 77 07 EB 0A 9D 72 02 EB 05 89
- db, 7E FC EB 0C 83 F9 00 74 05 89 4E FC EB 02 EB DD 61 8B 76 FC
- db, E8 C7 FD 8B 76 FE 89 EC 5D C3 AC 3C 51 75 03 E9 C2 F6 3C 4C
- db, 75 05 E8 6A 00 EB 12 3C 47 75 05 E8 C7 00 EB 09 3C 43 75 05
- db, E8 D9 00 EB 00 C3 2E 80 3E 3E 01 01 75 11 60 B4 03 CD 10 2E
- db, 89 16 38 01 61 2E C6 06 3E 01 00 C3 2E 80 3E 3D 01 01 75 32
- db, 60 2E 80 3E 3C 01 01 75 0B B8 00 00 CD 33 2E C6 06 3C 01 00
- db, B8 03 00 CD 33 B3 08 89 C8 F6 F3 2E A2 3A 01 89 D0 F6 F3 2E
- db, A2 3B 01 61 2E C6 06 3D 01 00 C3 52 E8 BB FA 88 C6 E8 B6 FA
- db, 60 1E 06 68 00 B8 1F 0E 07 BF 9D 0B 38 F0 76 02 86 C6 B3 50
- db, F6 E3 01 C0 89 C6 28 C6 74 31 8A 5C 01 B9 00 10 B2 50 AD 3C
- db, 20 74 0D 38 DC 75 07 26 89 3E 9B 0B EB 02 B0 20 AA FE CA 75
- db, 10 2E 8B 3E 9B 0B 47 B8 0D 0A AB FE CE 74 04 EB D7 E2 D7 B0
- db, 24 AA 2E C6 06 9A 0B 01 07 1F 61 5A C3 53 51 52 E8 53 FA 88
- db, C6 E8 4E FA 88 C2 52 B4 0F CD 10 5A B4 02 CD 10 5A 59 5B C3
- db, E8 3B FA 80 7C FF 68 75 03 90 EB 01 90 C3 00 00 00 24 24 24
- db, 24 24 24
-
-
- r cx
- aa3
- n syxq.com
- w
- q
-
- :b
- if not exist syxq.com debug <"%~f0">nul&start "" %0&exit
- setlocal enableDelayedExpansion
- chcp 437 >nul
- graftabl 936>nul
- title 幼儿学算术 V2.0
- echo; !date! !time! >>resu.txt
- set zk=
- set "y?={$ ■ ;■ ■; ■; ■;; ■}"
- set zd={$ ;■■■; ;■■■; }/~6~
- set z-={$ ; ;■■■; ; }/~6~
- set z+={$ ; ■ ;■■■; ■ ; }/~6~
- set z0={$■■■;■ ■;?■? ?■?;■ ■;■■■}/~6~
- set z1={$ ■ ; ■ ; ■ ; ■ ; ■ }/~6~
- set z2={$■■■; ■;■■■;■ ;■■■}/~6~
- set z3={$■■■; ■;■■■; ■;■■■}/~6~
- set z4={$■ ■;■ ■;■■■; ■; ■}/~6~
- set z5={$■■■;■ ;■■■; ■;■■■}/~6~
- set z6={$■■■;■ ;■■■;■ ■;■■■}/~6~
- set z7={$■■■; ■; ■; ■; ■}/~6~
- set z8={$■■■;■ ■;■■■;■ ■;■■■}/~6~
- set z9={$■■■;■ ■;■■■; ■;■■■}/~6~
- set zc=■ ■; ■ ■ ; ■ ; ■ ■ ;■ ■;
- set zu=;;;;; ■; ■;■ ■ ; ■ ■ ; ■ ;
- set "xo=,,,,,,,, ,;,,,, ,;,, ,;, ■ ■ ,; ■ ■ ■ ■ ,;, ,;, ,;,, ,;,,,, {&dxo}■ ■ ,;,,,,,, ■■ ,;,,,,,,,, ,"
- set "ku=,,,,,,,, ,;,,,, ,;,, ,;, ,; {&dku}■■ {&dku}■■ ,;, ,;, ,;,, ,;,,,, ■■ ,;,,,,,, ■ ■ ,;,,,,,,,, ,"
- set "at={14#,} 谢谢使用幼儿学算术批处理版 "
-
- ::颜色变换的动态模子
- set "z?={$[{ha-{&y?}}\5\{hb-{&y?}}\5\{hc-{&y?}}\5\{hd-{&y?}}\5\{he-{&y?}}\5\]/~1~}"
-
- ::眨眼睛的动态模子
- set dku=[■■ \22\ \4\■■ \22\ \4\■■ \4 \4\#### \3\ \3\==== \3\][,\600\,/CQ\1\]
- ::动嘴巴的动态模子
- set dxo=[■ ■;,,■■\3\-=■■=-;,, \6\■ ■;,,■■\3\■(00)■;,, \4\][,\600\,/CQ\1\]
- ::炫动显示的QQ号码
- set "dqq=224,1,31$/[ 欢迎提出建议 ?QQ?:{h3d@[ 37659560 \3\ {11-3}7659560 \3\ 3{11-7}659560 \3\ 37{11-6}59560 \3\ 376{11-5}9560 \3\ 3765{11-9}560 \3\ 37659{11-5}60 \3\ 376595{11-6}0 \3\ 3765956{11-0} \3\{11- 37659560} \3\]}{10#,} /]{10-{&dba}}"
- ::生成动态模子
- set dba={16~[
- for /l %%a in (0,1,20) do (set "dba=!dba!{%%a~{&at}}\6\")
- for /l %%a in (19,-1,1) do (set "dba=!dba!{%%a~{&at}}\6\")
- set dba=!dba!]}
- ::复制动态模子
- set "dsa=!dba:at=sa!"
- set "dsa=!dsa:\6\=\4\!"
-
- set key=5
- set cls=20,0,31${25#{20# };}
- set comm=4com1 com2
- goto :begin
-
- :sub
- ::set shi=31k+k42kdkau
- set sta=
- for /l %%a in (0,1,15) do (
- if "!shi:~%%a,1!" equ "" goto :ok
- set "sta=!sta!{&z!shi:~%%a,1!}/~1~"
- )
- :ok
- set "sta=23,1,31$!sta!"
- set "za={&z?}"
-
- :lp1
- syxq.com cls sta dqq key
- set err=!errorlevel!
- if "!err!" equ "13" goto :eof
- if "!err!" equ "8" (if defined num (set num=!num:~,-1!))&goto :del
- if "%err%" equ "27" exit
- if "!err!" gtr "57" goto :lp1
- if "!err!" lss "48" goto :lp1
- set/a err=err-48
- set num=!num!!err!
- set num=!num:~-3!
- :del
- set za=
- for /l %%a in (0,1,2) do (
- for /f %%b in ("!num:~%%a,1!") do (set "za=!za!!z?:y?=z%%~b!/~7~")
- )
- if "!num!" equ "" set "za={&z?}"
- goto :lp1
-
- :begin
- set max=10
- echo;
- echo; 在显结果状态按Esc退出,
- echo; 输入答案(可以使用退格键),然后按回车确定。
- echo;
- set /p max=输入结果上限数(默认:10):
- set /a max+=1
- ::cls
- :lp
- set /a tre=!random!%%max,one=!random!%%max,fh=!random!%%2
- if !tre! gtr !one! (
- set/a two=tre-one
- if !fh! equ 0 (set str=!tre!-!one!) else (set str=!one!+!two!)
- ) else (
- set/a two=one-tre
- if !fh! equ 0 (set str=!one!-!tre!) else (set str=!tre!+!two!)
- )
- set/a des=!str!
- set shi=!str:+=k+k!
- set shi=!shi:-=k-k!kda
- :err
- set num=
-
- call :sub
-
- echo !str! = !num! >>resu.txt
-
- if "!num!" equ "!des!" (
- set "sa={h1d@ 答对了!你真聪明!?^_^? }"
- set "at={14#,} 按?Esc?可以退出,或者按其它再来一次 "
- set "lian=213,5,h2e$!xo!{&dsa}"
- set com1=27,60,h1a$!zu!
- set com2=
-
- ) else (
-
- set za=
- for /l %%a in (0,1,2) do (
- for /f %%b in ("!des:~%%a,1!") do (set "za=!za!!z?:y?=z%%b!/~7~")
- )
-
- set "sa={h1d@ 真可惜,?~_~? 正确答案是/: {he-!str! = !des!} }"
- set "at={14#,} 不要恢心/,按任意键再来过 "
- set "lian=213,5,h6e$!ku!{&dsa}"
- set "com1=28,60,h1c$!zc!"
- set "com2=213,40,h1d${&za}"
-
- call :dh
- )
-
-
- syxq.com lian dqq comm key
-
-
- if defined com2 goto :err
- if "%errorlevel%" equ "27" exit
- set at={14#,} BatHome 批处理之家
- goto :lp
-
- :dh
-
- for /f "tokens=1,2 delims=+-= " %%a in ("!str!") do (
- set num1=%%a
- set num2=%%b
- set /a num3=num1+num2,numtt=num1/60+num2/60+num3/60*fh
- )
-
- if !numtt! leq 0 (
- if "!fh!" equ "0" (
- set "dongh=210$2$h1e$[/~{num1}#O\50\{12-/~{num2}#O}\6\{6-/~{num2}#O}\8\{-/~{num2}#O}\10\{6-/~{num2}#O}\8\{-/~{num2}#O}\50\{-/~{num1}# }\33\][,\600\,/CQ\1\]"
- ) else (
- set "dongh=210$2$h1e$[/~{num1}#O\50\,\100\{hf-/~{num3}# },\50\]/~{num1}~{$[\50\{2-/~{num2}#O}\6\{1-/~{num2}#O}\8\{5-/~{num2}#O}\10\{ha-/~{num2}#O}\6\{he-/~{num2}#O}\120\]}[,\600\,/CQ\1\]"
- )
-
- syxq.com dongh key
-
- )
-
- goto :eof
复制代码
[ 本帖最后由 netbenton 于 2010-10-17 20:01 编辑 ]
作者: vsbat 时间: 2010-10-14 19:28
连续多按几次 ENTER 有意外收获 ---
作者: cjiabing 时间: 2010-10-14 21:57
定一个,好大的工程!~
最好添加个说明,要不都不知道用来做什么的!~
作者: 523066680 时间: 2010-10-15 09:42
不会弄啊,等蓝屏等了很久。
又一次出现画面了,一个小儿算数,然后下方的效果很炫,
但是不会用……
更多时候等了很久一直都是蓝屏,是不是需要按某个键啊
作者: cjiabing 时间: 2010-10-15 10:02 标题: 回复 4楼 的帖子
LZ没提示,我以为蓝屏没内容了早早CUT了它!~再试试
作者: netbenton 时间: 2010-10-15 13:05
不好意思呀~~其实直接回车,然后输入计算结果再回车就可以了。
主要效果是在等待用户输入按键时,界面的在变动的。
作者: cjiabing 时间: 2010-10-15 13:15 标题: 回复 6楼 的帖子
一开始就来个“输入结果上限”,实在不明白这个结果上限从哪里来?前面又没有计算题做,怎么就跑出来的结果呢?
另外,我的跑了半天还是蓝屏,什么都没有,传说中的笑脸也没有。
作者: netbenton 时间: 2010-10-15 13:18
不是吧??
是什么系统? win7?
作者: cjiabing 时间: 2010-10-15 13:24 标题: 回复 8楼 的帖子
Microsoft Windows XP [版本 5.1.2600]
——————
笑脸要多久才显示?
作者: netbenton 时间: 2010-10-15 13:43
回车马上就出来了的
作者: yangfengoo 时间: 2010-10-15 14:50
输入上限后一直没动
作者: netbenton 时间: 2010-10-15 18:40
怎么回事呀??
9楼和我一样的系统呀!!
我的电脑上的win7虚拟机都可以通过的~~
你们都说不行~~纠结了~~~
作者: vsbat 时间: 2010-10-15 18:45 标题: 回复 12楼 的帖子
win 7 可以的--我的是
作者: broly 时间: 2010-10-16 17:41
[ 欢迎提出建议 QQ/:{h3d@[ 37659560 这里的中文显示是乱码
WIN7
Microsoft Windows [版本 6.1.7600]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
作者: qq506657335 时间: 2010-10-17 14:20
等得我都郁闷了。。就那个蓝窗口。。啥都没有。。
作者: netbenton 时间: 2010-10-17 17:57
1,对不起,竟然真的存在不兼容问题~~
2,已经找到win7 下显示乱码的原因,因为运行了debug,已经改正。
3,一楼把又增加了一些动态度特效,真的很好玩,呵呵~~
再想办法改进下~~囧
[ 本帖最后由 netbenton 于 2010-10-17 20:11 编辑 ]
作者: netbenton 时间: 2011-10-10 13:22
时隔360多天,终于找到当初为什么有的机子会不正常了,BUG已经改正,大家再看看。
**一楼已经更新**
作者: cjiabing 时间: 2011-10-10 18:47
回复 17# netbenton
哈哈哈,马上测试,向大哥问好@!
作者: cjiabing 时间: 2011-10-10 18:52
555,终于看到了传说中的面孔,netbenton你终于把这个问题改进了,如果在效率上再搞一些更好。
作者: sds 时间: 2022-12-8 18:58
Win7 x64 打开什么都没有,就一个黑窗口,关不掉,关掉一个又打开了。
是不是有Debug之类的?
作者: sds 时间: 2022-12-8 19:57
[code][/code] debug
ddddd
作者: sds 时间: 2022-12-20 19:02
用sybcexe.exe做一个吧!Win7 64位运行不了syxq.com和debug。
作者: sds 时间: 2022-12-21 08:38
回复 9# cjiabing 你是x64???????
欢迎光临 批处理之家 (http://bbs.bathome.net/) |
Powered by Discuz! 7.2 |