sbcon.txt

来自「smallbasic for linux」· 文本 代码 · 共 97 行

TXT
97
字号
Console____________________________\t		tab (32 pixels)\a		beep\r\n	new line (cr/lf)\xC		clear screen\e[K	clear to EOL\e[0m	reset all        attributes to		their defaults\e[1m	set bold on\e[4m	set underline on\e[7m	reverse video\e[21m	set bold off\e[24m	set underline off\e[27m	set reverse off\e[3nm  set foreground        color. where n:        0 black        1 red        2 green        3 brown        4 blue        5 magenta        6 cyan        7 white\e[4nm  set background        color.		(see set foreground)PalmOS only:\e[8nm	(n=0..7)        select system font\e[9nm	(n=0..3)        select buildin font____________________________?|PRINT [expr|str [{,|;}            [expr|str]] ...Displays a text or the valueof an expression.____________________________CAT(x)Returns console codes0 - reset1 - bold on2 - underline on3 - reverse onPalmOS only:80..87 - select system font90..93 - select custom fontExample:? cat(1);"Bold";cat(0)____________________________INPUT [prompt {,|;}]      var[, var [, ...]]Reads from "keyboard" a textand store it to variable.____________________________INPUT$(len[,fileN])____________________________CLSClears the screen.____________________________AT x,y (in pixels)Moves the console cursorto the specified position.x,y are in pixels____________________________LOCATE y,xMoves the console cursorto the specified position.x,y are in character cells.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?