Re: Need Help deleting record from text file



Larry Serflaten wrote:
"Larry Serflaten" <serflaten@xxxxxxxxxxxxxx> wrote

oops... copy and paste error:


Print #ff, "DIR /o:g /b > """ & TempFile & ".txt"""

Should be:

Print #ff, "DIR /o:gn /b > """ & TempFile & ".txt"""

To sort on file names....

LFS

Larry,

I am now using arrays which is a little faster. Yes, I do have 10,746 files
in one of my backups. :-)

I don't usually comment code until I know it works, as I am constantly
changing and rearranging it, but I do not comment enough and will try to
improve on that in the future. I know I have gone back to some of my old
code and it took awhile for me to figure out how it worked.

--
Norm

Don't blame me, my programming is
self-taught and my teacher was not
very experienced. :-)

normfowler_don't use_@xxxxxxxxxxx


.



Relevant Pages

  • Re: Help with Array(s)
    ... I would think XML would return in something with an XML schema and you could ... Array.Sort sorts one-dimentional arrays, but don't think it will 2dim arrays ... to sort list by second int value and display. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: does C# have any collection objects that support sort functionality so that I dont have to writ
    ... the IComparable interface. ... Also, since arrays are strongly typed, you know that all elements are of the ... for ArrayLists. ... The Sort() method will utilize each object's IComparable ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: IsAnagram
    ... Sort both words and compare both arrays. ... So I am looking for the most efficient algorithm. ... Sort both sounds like the most efficient. ... array first. ...
    (comp.lang.c)
  • Re: Generic In-Place Sort
    ... > There is a bug in that you get an Access Violation if you sort an empty ... So with an empty array, ... specializations for sorting arrays of Integers and arrays of strings. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Arrays
    ... > Arrays are very rich objects in CL. ... > copying some sort of object, or testing one for equality, there are ... > The Lisp reader does a lot of this when reading strings and symbols. ...
    (comp.lang.lisp)