if the file x.file exists, it will write an end of file marker on it.
+-erasing what was in x.file.

it won't ( should not ) clear the x.dir directory.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Shawn Waldie
Sent: Wednesday, April 14, 2004 1:49 PM
To: U2 Users Discussion List
Subject: WEOFSEQ


I need some clarification.

Given the following:

X.DIR   = "X.HOME.WALDIES";     * the VOC item 'X.HOME.WALDIES' is a
pointer to /home/waldies
X.FILE  = "SRW_TEST_SEQ.txt"

OPENSEQ X.DIR,X.FILE TO FV.SEQ THEN
  WEOFSEQ FV.SEQ
ELSE
  ...
END


Upon a successful open of X.DIR at X.FILE, will the WEOFSEQ erase
everything in X.DIR starting with X.FILE, including other files that may
exist under - positionally - X.FILE?  Or is it just suppose to "clear"
anything that might be contained in X.FILE?

This what the *help* says:
The UniBasic WEOFSEQ command writes an end-of-file mark at the record
pointer position in a sequential file, which results in the file (...in
my case, X.DIR or X.FILE?) being truncated at the current position.

TIA
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately. 

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to