China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-20 20:57
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Batch processing to display consecutive letters? View 4,623 Replies 20
Floor 16 Posted 2007-02-04 12:24 ·  中国 吉林 四平 联通
高级用户
★★★
Credits 859
Posts 413
Joined 2006-08-14 21:55
19-year member
UID 60532
Status Offline
Floor 17 Posted 2007-02-04 18:25 ·  中国 甘肃 兰州 城关区 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
Originally posted by namejm at 2007-2-4 10:57:
For handling ASCII codes?

The ASCII decimal values for a-z are 90-122. I'm thinking if I can do something here?
Floor 18 Posted 2007-02-05 01:09 ·  中国 北京 中国科学院研究生院
银牌会员
★★★
Credits 1,187
Posts 555
Joined 2006-12-21 07:35
19-year member
UID 74129
Gender Male
Status Offline
Going home for the New Year.

Let's take another look, steal a bite, and get full before going home to eat again.

Hehe.

A small problem has sparked so many good ideas.

Really admire it.
Floor 19 Posted 2007-03-13 02:38 ·  中国 江苏 苏州 电信
初级用户
Credits 88
Posts 41
Joined 2006-05-13 21:57
20-year member
UID 55479
Status Offline
Great expert! I'm really impressed
Floor 20 Posted 2007-05-08 17:36 ·  中国 广东 中山 电信
初级用户
★★
Credits 127
Posts 62
Joined 2007-04-19 12:43
19-year member
UID 85744
Gender Male
Status Offline
The posts on floors 6 and 9 are great! Learning!
Floor 21 Posted 2007-05-08 17:50 ·  中国 安徽 芜湖 电信
高级用户
★★
Credits 537
Posts 219
Joined 2006-10-31 21:08
19-year member
UID 69036
Gender Male
From 芜湖
Status Offline
Originally posted by youxi01 at 2007-1-11 02:26:

If it's VBS, it doesn't need to be so complicated! Just use a simple for loop to get it done




input = InputBox("Enter 2 letters", "Input", "af")
str1 = Mid(input, 1, 1)
str2 = Mid(input, 2, 2)
For i = Asc(str1) To Asc(str2)
str = str & " " & Chr(i)
Next
MsgBox str
江湖远
碧空长
路茫茫

一个人漫无目的的奔跑,风,刺骨的冷....
Forum Jump: