$FakeEnt: Difference between revisions
m (1 revision) |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<span class="pageSubtitle">Prepare fake ENTER to automatically satisfy next full screen read</span> | <span class="pageSubtitle">Prepare fake ENTER to automatically satisfy next full screen read</span> | ||
<p class=" | <p class="warn"><b>Note: </b>Many $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $FakeEnt function.</p> | ||
This function can be used to prepare a "fake" ENTER key. That is, the next full screen read issued by <var class="product">Model 204</var> will automatically be satisfied as if the user had simply hit the ENTER key without entering any data. | This function can be used to prepare a "fake" ENTER key. That is, the next full screen read issued by <var class="product">Model 204</var> will automatically be satisfied as if the user had simply hit the ENTER key without entering any data. | ||
The $FakeEnt function accepts no arguments. It returns a 1, if the user is on a valid full screen terminal; otherwise it returns a 0. As of <var class="product">[[Sirius Mods]]</var> Version 6.8, it is a callable $function . | The $FakeEnt function accepts no arguments. It returns a 1, if the user is on a valid full screen terminal; otherwise it returns a 0. As of <var class="product">[[Sirius Mods]]</var> Version 6.8, it is a [[Calling Sirius Mods $functions|callable]] $function. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax" | <p class="syntax">[%RC =] $FakeEnt | ||
</p> | </p> | ||
<p | <p> | ||
</p> | |||
<p>%RC is set to either 0 or 1.</p> | |||
This function can be used to build an automatic screen refresh facility. In the following code fragment, 3 screens are automatically displayed for 1 second each. | This function can be used to build an automatic screen refresh facility. In the following code fragment, 3 screens are automatically displayed for 1 second each. | ||
Line 27: | Line 27: | ||
PAUSE 1 | PAUSE 1 | ||
</p> | </p> | ||
==Products authorizing {{PAGENAMEE}}== | |||
<ul class="smallAndTightList"> | |||
<li>[[SirMon|SirMon]]</li> | |||
</ul> | |||
<p> | |||
</p> | |||
[[Category:$Functions|$FakeEnt]] | [[Category:$Functions|$FakeEnt]] |
Latest revision as of 13:31, 27 November 2018
Prepare fake ENTER to automatically satisfy next full screen read
Note: Many $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $FakeEnt function.
This function can be used to prepare a "fake" ENTER key. That is, the next full screen read issued by Model 204 will automatically be satisfied as if the user had simply hit the ENTER key without entering any data.
The $FakeEnt function accepts no arguments. It returns a 1, if the user is on a valid full screen terminal; otherwise it returns a 0. As of Sirius Mods Version 6.8, it is a callable $function.
Syntax
[%RC =] $FakeEnt
%RC is set to either 0 or 1.
This function can be used to build an automatic screen refresh facility. In the following code fragment, 3 screens are automatically displayed for 1 second each.
%RC = $FakeEnt READ SCREEN SCREEN1 PAUSE 1 %RC = $FakeEnt READ SCREEN SCREEN2 PAUSE 1 %RC = $FakeEnt READ SCREEN SCREEN3 PAUSE 1
Products authorizing $FakeEnt