StdForthIo Class Reference
[Test - Test code for forth virtual machine]

Inheritance diagram for StdForthIo:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void ConsoleOut (const CHAR *text, UCELL textLength)
virtual CELL ConsoleIn ()

Detailed Description

ForthIo implementation which uses posix functions.

Definition at line 59 of file forthtest.cpp.


Member Function Documentation

virtual void StdForthIo::ConsoleOut ( const CHAR text,
UCELL  textLength 
) [virtual]

Display a text string on the console. This is called by the forth words TYPE and EMIT.

Parameters:
text Pointer to string.
textLength Number of characters in string.

Implements ForthIo.

Definition at line 88 of file forthtest.cpp.

virtual CELL StdForthIo::ConsoleIn (  )  [virtual]

Get a single character from the console input. This is called by the forth word KEY.

Returns:
The character.

Implements ForthIo.

Definition at line 94 of file forthtest.cpp.


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.1