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

Re: Turnkey

From: Azedia of DOLFINA <dolfina_at_dolfina.org>
Date: Mon, 15 Jul 2002 17:06:52 -0700

To Anyone,

OK, I am reading both the SF Reference Manual and the Win32 Console chapter
of Programming Win32 under the API:

There are two types of I/O described? Yes?

Originally, I tried the PAD 5 ACCEPT and it works for my purposes on the SF
console.
Then I turnleyed it as

PROGRAM CORE

Core being the name, when it runs there is a copy of SF running. So, I guess
I had thought
that ACCEPT was going to take input from a DOS Window.

Here is a sample of a C Console program from Programming Win32 by Vilani:

#include <sdtio.h>

int main(int arg, char * arg[])
{
        char szBuf[10]

        printf("Hello world\n");
        printf("Enter a character exit: ");
        scanf("%s", szBuf);

        return 0;
}

I was expecting the ACCEPT and KEY to do something similar. Are there
any examples of forth words that for Windows Console I/O?

Jodell

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.377 / Virus Database: 211 - Release Date: 7/15/2002
----------------------------------------------------------------------
sftalk_at_forth.com      The SwiftForth programming discussion email list
To unsubscribe,  send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Search the archives!    Visit http://www.forth.com/search for details.
Received on Mon Jul 15 2002 - 17:07:28 PDT

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