Truncating Files - Please help

new topic     » topic index » view thread      » older message » newer message

This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C1AF49.39D63EA0
	charset="iso-8859-1"

Euphoria WIN32
Using the file open for update function. When I write to file with less data
than the file held previously, the data not overwritten appears at the end of the
file. I need to 'truncate' the file at the end of the new data by adding a new
end of file marker. Can anyone tell me how I do this.
Thanks, 
Matthew

------=_NextPart_000_0009_01C1AF49.39D63EA0
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3314.2100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=2>Euphoria WIN32</FONT></DIV>
<DIV><FONT size=2>Using the file open for update function. When I write to file 
with less data than the file held previously, the data not overwritten appears 
at the end of the file. I need to 'truncate' the file at the end of the new data
by adding a new end of file marker. Can anyone tell me how I do 
this.</FONT></DIV>
<DIV><FONT size=2>Thanks, </FONT></DIV>

------=_NextPart_000_0009_01C1AF49.39D63EA0--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu