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-24 21:34
中国DOS联盟论坛 » 网络日志(Blog) » Labor is a great effort! GBK code table display View 6,106 Replies 0
Original Poster Posted 2019-05-02 12:38 ·  中国 吉林 延边朝鲜族自治州 延吉市 联通
初级用户
dos荒废了吗?
Credits 85
Posts 37
Joined 2018-09-22 19:46
7-year member
UID 183109
From 北海道(
Status Offline
I used languages like bat, Basic, C to make this thing.

Set %qu%, %wei% as variables.
Set %wei% to 0x40.
:set
Display "Which area to display? "
Set %qu% to the input hexadecimal number.
If %qu% is greater than or equal to 0x81, go to print; else, go to error.
:error
Error!
Go to set.
:print
Display "%qu%%wei%"
Note: The above is the character corresponding to the area, not hexadecimal.
Set %wei% to %wei% + 1.
If %wei% is equal to 0xFF, exit; else, go to print.

This is just my little idea...
Thanks! Sample Text

[ Last edited by diaowinner on 2019-5-2 at 12:42 ]
Forum Jump: