programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: Console application...

From: albertosantini <albertosantini_at_tiscalinet.it>
Date: Thu, 11 Jan 2001 08:44:16 +0100 (added by postmaster@mail.tiscalinet.it)

Hello,

I'm using ACCEPT, KEY and EMIT to display text.
We can imagine my program like a C program
with printf and, eventually, scanf. My need is
to launch the program from the prompt of
the command line and to display text on the console.

Example:

C:\dev\forth\chess> chess.exe
GO
e2e4
MOVE e7e5
d2d4

and so on.

Thanks,
Alberto Santini

On Wednesday, January 10, 2001 at 04:07:57 PM, sftalk_at_forth.com wrote:

> Alberto,
>
> For this console application, do you wish to be able to
> use KEY and EMIT and family for I/O?
>
> In particular, the color attribute words and cursor
> positioning are difficult.
>
> Rick
>
>
> *********** REPLY SEPARATOR ***********
>
> On 1/6/2001 at 10:57 AM Alberto Santini wrote:
>
> >Happy New Year.
> >
> >A little question. How to build a console application?
> >
> >If I use this statement
> >
> > STARTER CHESS PROGRAM CHESS.EXE
> >
> >I launch Swiftforth environment, then automagically
> >it executes my word CHESS.
> >
> >If I use this statement
> >
> > ' CHESS 'MAIN ! PROGRAM CHESS.EXE
> >
> >my application has to build own window environment.
> >
> >But I'd like to build a simple DOS-like program:
> >I launch the program from the prompt of the shell,
> >the program starts and displays a prompt, then...
> >
>
>
> _______________________________________________
> Sftalk mailing list Sftalk_at_forth.com
> Visit Sftalk on the web at http://www.forthinc.com/mailman/listinfo/sftalk
>

--
TiscaliNet, libero accesso ad Internet.
http://www.tiscalinet.it
Received on Thu Jan 11 2001 - 00:41:15 PST

This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 03:04:27 PST