Use
echo .
to get just a carriage return into the file. Note that you don't have 
permissions to write the file, therefore any attempt to create it from BASIC 
will also fail.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Allen Elwood RR
Sent: Thursday, September 09, 2010 10:08 AM
To: U2 Users List
Subject: Re: [U2] Sequential Files Question


How does this create a file?  I've always code similar to the method
David Green showed, since that works on all pick flavors instead of
having to change my code every time I move to a different system.....

C:\Users\AllenElwood>help echo
Displays messages, or turns command-echoing on or off.

   ECHO [ON | OFF]
   ECHO [message]

Type ECHO without parameters to display the current echo setting.

C:\>echo>c:\buddy.txt
Access is denied.

On 9/9/2010 9:47 AM, Rex Gozar wrote:
> OPENSEQ PATH TO SEQFILE THEN
>    WEOFSEQ SEQFILE ON ERROR
>       ABORTM "WEOFSEQ FAILED!"
>    END
> END ELSE
>    * instead of CREATE statement (on Windows)
>    PCPERFORM "echo>":PATH
>    OPENSEQ PATH TO SEQFILE ELSE
>       ABORTM "OPENSEQ FAILED!"
>    END
> END
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to