windowGetKeyInput
and windowGetKeyInputNow
key codes for alphanumeric keys follow ASCII standard. Any other keys should follow this table (column ASCI or extended).
windowCreate(var.i width, var.i height)
Create 2d text window.
windowDraw()
Draw text window in console.
windowDelete()
Delete text window.
windowClear(var.s c)
Clear text window (all “points” set to first character of c
).
windowSetPoint(var.s c, var.i x, var.i y)
Write string c
starting in position (x
, y
).
windowGetKeyInput(&var.i input)
not available in anSript for Web
Read pressed key (wait for pressing).
windowGetKeyInputNow(&var.i input)
If key pressed read its value, else -1.i
.