With UV at least, CNAME is a Unix executable, hence able to handle the renaming of very large sequential files and the like... Unlike a UV BASIC program, the UV line editor or the UV COPY verb (the latter two being UV BASIC programs).
So it, can come in very handy! Regards, David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Timothy Snyder Sent: Friday, 23 July 2004 3:10 PM To: [EMAIL PROTECTED] Subject: Re: [U2] Longstanding aversion to CNAME? Wendy Smoak wrote on 07/22/2004 07:26:59 PM: > From a UniBasic program, why would you open a file, read a record, > write it back to the same file under a different key, then delete the > original record, when you could just: > > X.CMD = "CNAME filename ":X.ID:',':X.NEW.ID > EXECUTE X.CMD The overhead of the execute would be greater than if you did it programmatically. CNAME will be doing everything you'd be doing, but there will also be the overhead of the execute. If you're doing it once within a program, the difference will be negligible. But don't think about doing it in a loop. ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
