|
|||
|
Hey there,
I have a little question for you, how do I realise a progy, which stores an adressbook (name, city, phone,etc.) in alphabetical order? what record structur do i need (must be sortable) and how do i determin the end of that record, especially, when it is restored from a file (the eof thing, you know!)? |
|
|
||||
|
||||
|
|
|
|||
|
"Oliver Bleckmann" <Oliver-Bleckmann@freenet.de> wrote in message
news:d5n9o7$vnn$1@newsserver.rz.tu-ilmenau.de... > how do I realise a progy, which stores an adressbook (name, city, > phone,etc.) in alphabetical order? Sort the records before presentation. > what record structur do i need (must be sortable) Sorting algorithms depend only on the compareability of the elements. Generic sorting procedures tend to take a list and a comparison function as parameters. > and how do i determin the end of that record, especially, > when it is restored from a file (the eof thing, you know!)? Use a while loop over (not Eof()). Groetjes, Maarten Wiltink |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Comparing two tables with regard to authenticity | =?iso-8859-1?q?Rune_Runnest=F8?= | Newsgroup comp.soft-sys.sas | 0 | 09-13-2006 09:03 AM |
| Re: UNIX datastep question | Nordlund, Dan | Newsgroup comp.soft-sys.sas | 0 | 06-28-2006 04:02 AM |
| Re: Views and passes (was RE: Output last record of fantom by | Paul M. Dorfman | Newsgroup comp.soft-sys.sas | 0 | 07-14-2005 04:40 AM |
| Re: Multiple record data problem and survival analysis | Frank Schiffel | Newsgroup comp.soft-sys.sas | 1 | 05-11-2005 09:24 PM |
| Re: Cobol record REDEFINES equivalent in SAS observations | Peter Crawford | Newsgroup comp.soft-sys.sas | 0 | 01-11-2005 03:32 PM |