Subj : File access - BAJA
To   : ALL
From : Jim King
Date : Mon Apr 02 2001 11:12 am

I want to learn more about how to program computers. Baja seems to be
simple enough yet complex enough at the same time.

One aspect that seems inescapable is writing to and reading from a
file.

Would someone be willing to write and explain a simple (short) program
that reads from and writes to a file in Baja?

Use as many of the file accessing routines found in Baja.

From Baja Docs:

FOPEN <int_var> <#>     <"str" or str_var>                      FILE_IO.INC
args: handle    access  path_and_filename

FREAD <int_var> <any_var> [int_var or #]
args: handle    dest      length

FCLOSE <int_var>
 args: handle

I just don't have the back ground to use this. I know this is a tall
order and an in depth discussion prolly wont happen, but some sort of
thread on this MIGHT help and would certainly be welcomed here and
possibly by others wishing to learn more.


-
James King, Coldwater, Mi     And that's JIM to you guys!
       Tip of the day:  http://setiathome.berkeley.edu

---
� Synchronet � Bits-N-Bytes    One hell of a BBS     24.241.127.99