⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gfacility.htm

📁 strongForth: a strongly typed dialect of Forth implemented in ANS Forth.
💻 HTM
字号:
<html>
<head>
<title>StrongForth.f Facility Glossary</title>
</head>
<body>
<h1>StrongForth.f Facility Glossary</h1>
<hr><p><pre><b>AT-XY ( UNSIGNED UNSIGNED -- )</b></pre></p>
<p>Position the cursor of the user output device at the column specified by the 
first <kbd>UNSIGNED</kbd> and the row specified by the second 
<kbd>UNSIGNED</kbd>. The next character to be displayed will appear at this 
position. The upper left corner of the user output device is column zero, row 
zero. An ambiguous condition exists if the first <kbd>UNSIGNED</kbd> is not less 
than the number of columns, or if the second <kbd>UNSIGNED</kbd> is not less 
than the number of rows of the user output device.</p>
<hr><p><pre><b>EKEY ( -- UNSIGNED )</b></pre></p>
<p>Receive one keyboard event <kbd>UNSIGNED</kbd>. The encoding of keyboard 
events is implementation defined.</p>
<hr><p><pre><b>EKEY>CHAR ( UNSIGNED -- 1ST FLAG )</b></pre></p>
<p>If the keyboard event <kbd>UNSIGNED</kbd> corresponds to a character IN the 
implementation-defined character set, return that character as <kbd>1ST</kbd> 
and <kbd>TRUE</kbd> as <kbd>FLAG</kbd>. Otherwise, <kbd>1ST</kbd> is equal to 
<kbd>UNSIGNED</kbd> and <kbd>FLAG</kbd> is <kbd>FALSE</kbd>.</p>
<hr><p><pre><b>EKEY? ( -- FLAG )</b></pre></p>
<p>If a keyboard event is available, return <kbd>TRUE</kbd> as <kbd>FLAG</kbd>. 
Otherwise return <kbd>FALSE</kbd> as <kbd>FLAG</kbd>. The event will be 
returned by the next execution of <kbd>EKEY</kbd>. After <kbd>EKEY?</kbd> 
returns with a value of <kbd>TRUE</kbd>, subsequent executions of 
<kbd>EKEY?</kbd> prior to the execution of <kbd>KEY</kbd>, <kbd>KEY?</kbd> or 
<kbd>EKEY</kbd> also return <kbd>TRUE</kbd>, referring to the same event.</p>
<hr><p><pre><b>EMIT? ( -- FLAG )</b></pre></p>
<p><kbd>FLAG</kbd> is true if the user output device is ready to accept data and 
the execution of <kbd>EMIT</kbd> in place of <kbd>EMIT?</kbd> would not have 
suffered an indefinite delay. If the device status is indeterminate, 
<kbd>FLAG</kbd> is <kbd>TRUE</kbd>.</p>
<hr><p><pre><b>KEY? ( -- FLAG )</b></pre></p>
<p>If a character is available, return <kbd>TRUE</kbd> as <kbd>FLAG</kbd>. 
Otherwise, return <kbd>FALSE</kbd> as <kbd>FLAG</kbd>. If non-character keyboard 
events are available before the first valid character, they are discarded and 
are subsequently unavailable. The character shall be returned by the next 
execution of <kbd>KEY</kbd>.</p>
<p>After <kbd>KEY?</kbd> returns with a value of <kbd>TRUE</kbd>, subsequent 
executions of <kbd>KEY?</kbd> prior to the execution of <kbd>KEY</kbd> or 
<kbd>EKEY</kbd> also return <kbd>TRUE</kbd>, without discarding keyboard 
events.</p>
<hr><p><pre><b>MS ( UNSIGNED -- )</b></pre></p>
<p>Wait at least <kbd>UNSIGNED</kbd> milliseconds.</p>
<p>Note: The actual length and variability of the time period depends upon the 
implementation-defined resolution of the system clock and upon other system and 
computer characteristics.</p>
<hr><p><pre><b>PAGE ( -- )</b></pre></p>
<p>Move to another page for output. Actual function depends on the output device. 
On a terminal, <kbd>PAGE</kbd> clears the screen and resets the cursor position 
to the upper left corner. On a printer, <kbd>PAGE</kbd> performs a form feed.</p>
<hr><p><pre><b>TIME&DATE ( -- UNSIGNED UNSIGNED UNSIGNED UNSIGNED UNSIGNED UNSIGNED )</b></pre></p>
<p>Return the current time and date represented by six unsigned numbers: 
second (0 to 59), minute (0 to 59), hour (0 to 23), day (1 to 31), month (1 to 12), 
year (e.g., 2007). The year in on top of the stack.</p>
<hr>
<p><a href="http://home.vrweb.de/s.becher/">Dr. Stephan Becher</a> - January 30th, 2009</p></body>
</body>
</html>

⌨️ 快捷键说明

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