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

Re: Global File Operations

From: Mike Ghan <mikeghan_at_logix-controls.com>
Date: Mon, 3 Dec 2001 09:19:15 -0800

The "fam" file access method determines the type of file access
allowed for both OPEN-FILE and CREATE-FILE. The following types are
defined in SwiftForth:

R/O Read Only - can not write to file.
W/O Write Only.
R/W Both Read and Write allowed.

For example

S" myfile.txt" R/W OPEN-FILE ( -- handle ior )

would return a file handle plus zero on the top of stack if the file
myfile.txt is available.

Hope this helps,

Mike

----- Original Message -----
From: "Schmitt Louis Jean-Pierre" <louis.schmitt_at_eif.ch>
To: <sftalk_at_forth.com>
Sent: Monday, December 03, 2001 9:01 AM
Subject: [sftalk] Global File Operations

Y have not uderstand what represent fam ( file access method )
is it the same as Handel under DOS ????
can you help my and explain what is an " fam "

tanks,

Louis Jean-Pierre
----------------------------------------------------------------------
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.

----------------------------------------------------------------------
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 Dec 03 2001 - 09:18:40 PST

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