mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 18:02:25 +00:00
added oocRandomNumbers, updated newt wrapper with GetKey function. -- noch
This commit is contained in:
parent
0aecdbd935
commit
ab5d3f734e
14 changed files with 108 additions and 6 deletions
|
|
@ -98,6 +98,16 @@ BEGIN
|
|||
newtWaitForKey
|
||||
END WaitForKey;
|
||||
|
||||
PROCEDURE -newtGetKey(): Int32
|
||||
"newtGetKey()";
|
||||
|
||||
PROCEDURE GetKey*(): CHAR;
|
||||
VAR i : Int32;
|
||||
BEGIN
|
||||
i:= newtGetKey();
|
||||
RETURN CHR(SHORT(i));
|
||||
END GetKey;
|
||||
|
||||
PROCEDURE -newtClearKeyBuffer()
|
||||
"newtClearKeyBuffer()";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue