Suppose there is a batch processing simulation of an information-state toy generalized Chinese character programming computer,
and suppose it is composed of three components:
1. Display output batch processing
2. Keyboard input batch processing
3. Body batch processing for binary access storage dictionary operation
(Concepts are infinite: time, space, dimensional space, Tai Chi set characters, dot matrix. All time-space text, line processing information point cutting)
Question 2:
How to correspond the keyboard keys of the existing hardware computer to variables, and then translate them into program characters for output execution?
(The array is composed of Heavenly Stems Jia Yi Bing, Yi Er San, Yi Er San, 123. On the basis of establishing the standard replacement of existing computer information, consider expanding the ordinary characters and extraordinary derived ranges of Chinese characters)
For example
ctrl = Lu 1 (space in the first column of the sixth row of the keyboard)
space = Lu 4
(The commands of batch processing should be as simple as possible, and the purpose of simplicity is to facilitate the learning and understanding of laypeople, and set and if are packaged as Chinese characters)
(It can also be a chat discussion post)
@echo off
setlocal enabledelayedexpansion
mode con cols=100 lines=25
for /f "skip=11" %%i in (%~fs0) do (
set a=%%i
set a=!a:1=type!
set a=!a:0= !
set a=!a:2=2.txt!
echo !a!
)
pause>nul
102
[ Last edited by zzz19760225 on 2021-8-10 at 23:17 ]
and suppose it is composed of three components:
1. Display output batch processing
2. Keyboard input batch processing
3. Body batch processing for binary access storage dictionary operation
(Concepts are infinite: time, space, dimensional space, Tai Chi set characters, dot matrix. All time-space text, line processing information point cutting)
Question 2:
How to correspond the keyboard keys of the existing hardware computer to variables, and then translate them into program characters for output execution?
(The array is composed of Heavenly Stems Jia Yi Bing, Yi Er San, Yi Er San, 123. On the basis of establishing the standard replacement of existing computer information, consider expanding the ordinary characters and extraordinary derived ranges of Chinese characters)
For example
ctrl = Lu 1 (space in the first column of the sixth row of the keyboard)
space = Lu 4
(The commands of batch processing should be as simple as possible, and the purpose of simplicity is to facilitate the learning and understanding of laypeople, and set and if are packaged as Chinese characters)
(It can also be a chat discussion post)
@echo off
setlocal enabledelayedexpansion
mode con cols=100 lines=25
for /f "skip=11" %%i in (%~fs0) do (
set a=%%i
set a=!a:1=type!
set a=!a:0= !
set a=!a:2=2.txt!
echo !a!
)
pause>nul
102
[ Last edited by zzz19760225 on 2021-8-10 at 23:17 ]
1<词>,2,3/段\,4{节},5(章)。
