Sort Array (without WordBasic)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: D (D_at_discussions.microsoft.com)
Date: 10/08/04


Date: Fri, 8 Oct 2004 08:35:23 -0700

After a bit of troubleshooting, I have discovered that the
WordBasic.SortArray command automatically truncates all entries in the array
to 255 characters, upon sorting. So, it now looks like I need to find
another way to sort an array, as the array I am using has a field that will
often be longer than 255 characters. Anyone have any ideas?

Thanks a lot.



Relevant Pages

  • Re: sending echo to all clients
    ... I did initialize it up properly, ... There is only one array and that is an array of pollfd structures named ... as an array of characters only but then I can't because sendsends bytes ... you receive C-style strings, so there's really no point to doing it. ...
    (comp.unix.programmer)
  • RE: Array Problem When Index Value is Nothing
    ... Can't you just REDIM PRESERVE to reduce the array size to get rid of the 0x00 ... Armin is correct that you'll miss entries on chunk boundaries, ... solution is to use the 'c' array as a buffer, appending newly read characters ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Subquery Confusion
    ... Then I got this crazy idea that an Array can only contain a maximum ... number of characters, ... Then I decide that maybe I'm completely wrong with my query, ... it out of Excel VBA and spit it into Microsoft SQL Server Management ...
    (microsoft.public.excel.programming)
  • Re: ifstream::get() surprise
    ... Extracts characters and stores them into successive locations ... > null character into the next successive location of the array. ... since the rule is to post the shortest code suffering from the ...
    (comp.lang.cpp)
  • Re: Problem with inserting bytea into postgresql
    ... > This byte array is serialized object. ... > ByteArrayOutputStream outputStream = new ByteArrayOutputStream; ... and the characters are encoded via UTF-8. ...
    (comp.lang.java.help)