[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: SQR Verison
- Subject: Re: SQR Verison
- From: Manoj Gurjar <mgurjar@HOTMAIL.COM>
- Date: Tue, 4 Apr 2000 09:03:50 EDT
There is a sorint algorithm and believe me it is fast too,
its bit difficult to understand but it is the QuickSort
sample in one of the .pdf file we get with SQR documentation.
If u don't have manual, let me know i will copy paste it.
It works great.
hth,
Manoj
>From: "Johnson, Dan" <Dan_Johnson@WRIGHTEXPRESS.COM>
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: Re: SQR Verison
>Date: Fri, 31 Mar 2000 14:30:09 -0500
>
> I'm not sure what Sam means when he says that you cannot sort an
>array as far as I know there are a variety of ways to sort an array. In the
>long run you would be better off spending some time writing a heap sort,
>merge sort, or selection sort. These algorithms have a worst case time
>complexity of nLogn whereas bubble sort has an every case time complexity
>of
>n^2 (n squared). However, a bubble sort is easy to write and I suspect that
>with SQR arrays it will much, much easier to write. I suspect that Ray
>Ontko
>and Tony DeLia (sorry if I spelled that wrong) may have some sorting
>procedures available on their sites. These guys are the masters and even if
>you can't use one of their algorithms you might get some ideas from them.
>
>Good Luck,
>Dan
>
> -----Original Message-----
> From: Sam Spritzer [SMTP:SSpritzer@GW.CTG.COM]
> Sent: Friday, March 31, 2000 1:36 PM
> To: SQR-USERS@list.iex.net
> Subject: Re: SQR Verison
>
> Generally speaking, you cannot sort an array but you can do a
>"bubble sort". Check out www.sqrtools.com. It really goes in depth about
>sorting arrays.
> HTH,
> Sam
> >>> <paresh.j.patel@BELLATLANTIC.COM> 03/31 12:59 PM >>>
> I am working on an SQR report in which I need to use an array. Is
>there a way
> to sort the array by multiple [character] fields? Is so, can
>anyone
>provide me
> an example? Any help would be greatly appreciated. Thank you.
>
> SQR Version: SQR/4.2.3/PC/Windows NT 4.0/ODBC Level1/Apr 22 1998
>
> ===============================================================
> "In the beginning, there was something which exploded...yet, they
>find nothing."
>
> Sam Spritzer
> sam.spritzer@ctg.com
> www.ctg.com
>
> Please see my personal web page at
> home.adelphia.net/~spritzer/aboutme.html
> for important information about contacting me.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com