$FakeEnt

From m204wiki
Revision as of 17:35, 28 January 2011 by 198.242.244.47 (talk) (Created page with "{{DISPLAYTITLE:$FakeEnt}} <span class="pageSubtitle"><section begin="desc" />Prepare fake ENTER to automatically satisfy next full screen read<section end="desc" /></span> <p cl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin="desc" />Prepare fake ENTER to automatically satisfy next full screen read<section end="desc" />

Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $FakeEnt function is to be entered.

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

<section begin="syntax" /> [%RC =] $FakeEnt <section end="syntax" />

$FakeEnt Function

%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

  • &SFUNC

Products authorizing $FakeEnt