Open the file for input/output as Binary, and use Put.

(From the MapBasic Help file:)
"Put [#] filenum,  [  position ] ,  var_name
filenum is the number of a file opened through an Open File statement
position is the file position to write to (does not apply to sequential file
access)
var_name is the name of a variable which contains the data to be written"

Good luck.

Sam Kome
Sage Software, Inc
www.sagesoft.com

-----Original Message-----
From: Bjorn Veltman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, October 20, 1999 11:04 AM
Subject: MI Writing to a file


>Hi,
>
>Does anyone know how I can write to a textfile from a given position?
>I see that there is a SEEK() function to find the current position in an
>open file but I can't find a PLACE() function or something like it. I'm
>trying to figure out how to change the coordsysclause in a MIF file.
>
>Thanks a lot,
>
>Bjorn
>
>----------------------------------------------------------------------
>To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
>"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
>

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to