CONSOLE
Updated: Mar 19, 2005

Console (CONSOLE numeric arguments are non-floating integer values)
~~~~~~~
CLS clears screen.

COLOR foreground, background

FREECONSOLE  (see Miscellaneous section)

INPUT [string1{; | ,}] string2

  Prints string1 prompt, if any, and assigns keyboard input line to string2.
  Note: A series of values may be entered and parsed by comma or other
  delimiter by application code.  E.g., .Parse in LIST object.

LOCATE line, column; positions cursor at line/column.

PAUSE prints a prompt and waits for user key press.

PRINT number | string[; number | string[; etc]]

SETCONSOLEMODE mode; mode is valid w32 SetConsoleMode API mode: 

  $DEFINE ENABLE_PROCESSED_INPUT    &H1
  $DEFINE ENABLE_LINE_INPUT         &H2
  $DEFINE ENABLE_WRAP_AT_EOL_OUTPUT &H2
  $DEFINE ENABLE_ECHO_INPUT         &H4
  $DEFINE ENABLE_WINDOW_INPUT       &H8
  $DEFINE ENABLE_MOUSE_INPUT       &H10

  SETCONSOLEMODE 7  'enable ctrl-c, line input and echo

SETCONSOLETITLE string; string is application title bar text.

  Note: same as Application.Title = string

SHOWCONSOLE

  No arguments. Used in create a fully functional new console window.
  For debugging, SHOWCONSOLE can be useful in CGI and GUI applications.   

Please see the CONSOLE Object for more properties and methods.


+ Penthouse (registered) version

Copyright 2003-2005 James J Keene PhD
Original Publication: Oct 8, 2003
