Re: Novice Question About Console I/O

From: Richard (riplin_at_Azonic.co.nz)
Date: 01/07/04


Date: 7 Jan 2004 14:16:22 -0800

Rich Chilausky <rchilausky@nc.rr.com> wrote

> When I invoke the executable in a Windows XP
> command prompt window, it runs just the way it did in the V3 ide. It brings up a
> console window and prompts for my input. I had expected it to use the command
> prompt window for the DISPLAY destination. I want to read from the keyboard and
> write to the command prompt window.

Fujitsu uses two 'windows' one is a console and is used for ANSI style
ACCEPT/DISPLAY the other is the CRT used for X/Open style
ACCEPT/DISPLAY UPON CRT or ACCEPT/DISPLAY AT ... The latter is only
created if an X/Open style statement is executed.

Neither of these are the command prompt window where you typed the
command.

Instead of starting a command prompt window and then starting your
program by typing a command which then opens a console window, why not
put the command of a strtcut (icon on desktop) and start the console
only.