- English (current)
- Chinese
It's pretty easy to use! As you see, there is a displayer on top and a keyboard on bottom.
There are 2 modes for displayer: code mode and output mode. You can switch it by clicking it.
Especially, there is a pointer on the displayer, you can move by specific keys in keyboard (see below) it to view different part of the display code or output: just like rolling your eyeboll!
By the way, the way to output is a bit different: you need to use the built-in function echo(data, flags = echoOps.W)
to output and clearEcho()
to clear it. What's more, there is a function to accept user's input: input((data) => { ... })
.
For more features and details, just see the next part!
There are lots of specific keys in the keyboard. They are so important that you can ignore them at all!
Here is the list of them:
PP
: previous page, only for keyboardNP
: next page, only for keyboardBP
: backspaceB2
: long backspacePL
: pointer leftPR
: pointer rightJL
: jump left (pointer)JR
: jump right (pointer)LU
: lower & upper (operates on the character before the pointer)CN
: chinese charactor input (operates on the pattern that like.tan10
(.[pinyin][index]
, matched with the pinyin table) and that is before the pointer)OP
: switch or input an operator (operates on the character before the pointer)SV
: saveSY
: sync (from saved)C2
: clear outputsGO
: go (running)
WS
: white spaceWP
: wrapBS
: back slash\
CQ
: common quote"
SQ
: single quote'
EC
:echo()
EO
:echoOps.
CE
:clearEcho()
RO
:Reflect.ownKeys()
There is the list of built-in APIs in the JStudio runtime environment:
echo(data, flags = echoOps.W)
: display the data on the displayer (values of enumechoOps
:W
(stands for 'add Wrap'),P
(stands for 'with Prototype'),L
(stands for 'support Long strings'),F
(stands for 'support Functions'))clearEcho()
: clear the displayerinput((data) => { ... })
: accept the data which user inputscn(pinyin)
: query the pinyin table according to the specific pinyinpinyin
: the pinyin table