『楼 主』:
问题2:请问如何把常用键盘每一个键对应一个变量?
使用 LLM 解释/回答一下
假设有一个批处理模拟信息态玩具广义汉字编程电脑,
再假设其为三个部件组成:
1显示屏输出批处理
2键盘输入批处理
3二元存取储存字典运算的机体批处理
(概念无限中:时,空间,维度空间,太极集合字符,点阵。一切时空文本,线处理信息点切割)
问题2:
如何将已有硬件电脑的键盘键位,对应变量,再翻译为程序字符输出执行?
(数组由天干甲乙丙,壹贰叁,一二三,123组成。在建立已有电脑信息标准替代基础上,再考虑扩展汉字已有平常字符和非常衍生范围)
如
ctrl=陆1(键盘第陆行第1列空间)
空格=陆4
(批处理的命令使用尽可能接近简单,简单的目的是便于外行新手学习理解,并设置set和if打包为汉字)
(算一个聊天讨论的帖子也可以)
@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 ]
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 ]
|