00000000: D2 45 46 20 20 31 30 20 20 20 20 20 20 20 20 20 |.EF 10 |
00000010: 20 20 20 20 20 20 20 20 20 20 D4 48 45 20 D3 CF | .HE ..|
00000020: D2 D4 20 43 4F 4D 4D 41 4E 44 20 20 20 20 20 20 |.. COMMAND |
00000030: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000040: 20 20 20 20 D3 CF D2 D4 20 20 D0 41 47 45 20 31 | .... .AGE 1|
00000050: 0D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |.---------------|
00000060: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |----------------|
00000070: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |----------------|
00000080: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |----------------|
00000090: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |----------------|
000000A0: 2D 0D D4 48 45 20 D3 CF D2 D4 20 43 4F 4D 4D 41 |-..HE .... COMMA|
000000B0: 4E 44 20 49 53 20 55 53 45 44 20 54 4F 20 53 4F |ND IS USED TO SO|
000000C0: 52 54 20 41 4C 4C 20 4F 52 20 41 20 53 45 4C 45 |RT ALL OR A SELE|
000000D0: 43 54 45 44 20 4C 49 53 54 20 4F 46 20 52 45 43 |CTED LIST OF REC|
000000E0: 4F 52 44 53 20 42 59 20 46 49 45 4C 44 53 0D 4F |ORDS BY FIELDS.O|
000000F0: 54 48 45 52 20 54 48 41 4E 20 54 48 45 20 4B 45 |THER THAN THE KE|
00000100: 59 20 46 49 45 4C 44 20 28 52 45 43 4F 52 44 53 |Y FIELD (RECORDS|
00000110: 20 41 52 45 20 41 4C 52 45 41 44 59 20 53 54 4F | ARE ALREADY STO|
00000120: 52 45 44 20 49 4E 20 4B 45 59 20 4F 52 44 45 52 |RED IN KEY ORDER|
00000130: 29 2E 20 D4 48 45 20 52 45 53 55 4C 54 0D 4F 46 |). .HE RESULT.OF|
00000140: 20 41 20 D3 CF D2 D4 20 57 49 4C 4C 20 42 45 20 | A .... WILL BE |
00000150: 41 20 46 49 4C 45 20 4F 4E 20 44 49 53 4B 20 4F |A FILE ON DISK O|
00000160: 46 20 54 48 45 20 52 45 43 4F 52 44 20 4B 45 59 |F THE RECORD KEY|
00000170: 53 20 49 4E 20 54 48 45 20 4F 52 44 45 52 20 4F |S IN THE ORDER O|
00000180: 46 20 54 48 45 20 53 4F 52 54 0D 50 41 52 41 4D |F THE SORT.PARAM|
00000190: 45 54 45 52 53 2E 20 D4 48 49 53 20 4C 49 53 54 |ETERS. .HIS LIST|
000001A0: 20 43 41 4E 20 42 45 20 55 53 45 44 20 49 4E 20 | CAN BE USED IN |
000001B0: CF D5 D4 D0 D5 D4 2C 20 C2 C1 D4 C3 C8 2C 20 D0 |......, ....., .|
000001C0: D2 CF C7 2C 20 D2 C5 D0 CF D2 D4 20 4F 52 20 D3 |..., ...... OR .|
000001D0: C5 CC C5 C3 D4 2E 0D C3 4F 4D 4D 41 4E 44 20 D3 |........OMMAND .|
000001E0: 59 4E 54 41 58 3A 0D 0D 20 20 20 20 20 D3 CF D2 |YNTAX:.. ...|
000001F0: D4 20 46 52 4F 4D 20 22 4C 49 53 54 22 20 C4 2D |. FROM "LIST" .-|
00000200: 20 4F 4E 20 5B 46 49 45 4C 44 5D 20 5B 46 49 45 | ON [FIELD] [FIE|
00000210: 4C 44 32 5D 20 26 35 20 5B 46 49 45 4C 44 33 5D |LD2] &5 [FIELD3]|
00000220: 2E 2E 2E 2E 2E D4 CF 20 22 4E 45 57 4C 49 53 54 |....... "NEWLIST|
00000230: 22 0D 0D 31 2E 20 D4 48 45 20 C4 2D 20 50 41 52 |"..1. .HE .- PAR|
00000240: 41 4D 45 54 45 52 20 53 50 45 43 49 46 49 45 53 |AMETER SPECIFIES|
00000250: 20 41 20 44 45 53 43 45 4E 44 49 4E 47 20 53 4F | A DESCENDING SO|
00000260: 52 54 20 41 4E 44 20 4D 41 59 20 42 45 20 4F 4D |RT AND MAY BE OM|
00000270: 49 54 54 45 44 2E 0D 0D 32 2E 20 D4 4F 20 53 4F |ITTED...2. .O SO|
00000280: 52 54 20 41 4C 4C 20 52 45 43 4F 52 44 53 20 49 |RT ALL RECORDS I|
00000290: 4E 20 41 20 46 49 4C 45 20 53 50 45 43 49 46 59 |N A FILE SPECIFY|
000002A0: 20 D3 CF D2 D4 20 C1 CC CC 20 41 4E 44 20 4F 4D | .... ... AND OM|
000002B0: 49 54 20 C6 D2 CF CD 20 22 4C 49 53 54 22 2E 0D |IT .... "LIST"..|
000002C0: 0D 33 2E 20 D4 48 45 20 4C 49 53 54 20 22 48 4C |.3. .HE LIST "HL|
000002D0: 49 53 54 22 20 57 49 4C 4C 20 42 45 20 55 53 45 |IST" WILL BE USE|
000002E0: 44 20 49 46 20 54 48 45 20 46 49 4C 45 4E 41 4D |D IF THE FILENAM|
000002F0: 45 20 49 53 20 4F 4D 49 54 54 45 44 20 45 2E 47 |E IS OMITTED E.G|
00000300: 2E 20 C6 D2 CF CD 20 22 22 0D 0D 34 2E 20 D4 48 |. .... ""..4. .H|
00000310: 45 20 53 4F 52 54 45 44 20 4C 49 53 54 20 57 49 |E SORTED LIST WI|
00000320: 4C 4C 20 42 45 20 27 48 4C 49 53 54 27 20 49 46 |LL BE 'HLIST' IF|
00000330: 20 54 48 45 20 D4 CF 20 43 4F 4D 4D 41 4E 44 20 | THE .. COMMAND |
00000340: 49 53 20 4F 4D 49 54 54 45 44 0D 0D 35 2E 20 D4 |IS OMITTED..5. .|
00000350: 48 45 20 53 4F 52 54 20 57 49 4C 4C 20 55 53 45 |HE SORT WILL USE|
00000360: 20 31 30 20 43 48 41 52 41 43 54 45 52 53 20 46 | 10 CHARACTERS F|
00000370: 52 4F 4D 20 45 41 43 48 20 53 50 45 43 49 46 49 |ROM EACH SPECIFI|
00000380: 45 44 20 46 49 45 4C 44 20 55 4E 4C 45 53 53 20 |ED FIELD UNLESS |
00000390: 4F 54 48 45 52 57 49 53 45 0D 20 20 20 53 50 45 |OTHERWISE. SPE|
000003A0: 43 49 46 49 45 44 20 42 59 20 41 4E 20 26 20 43 |CIFIED BY AN & C|
000003B0: 4F 4D 4D 41 4E 44 2E 20 26 35 20 5B 4E 41 4D 45 |OMMAND. &5 [NAME|
000003C0: 5D 20 57 49 4C 4C 20 4F 4E 4C 59 20 55 53 45 20 |] WILL ONLY USE |
000003D0: 35 20 43 48 41 52 41 43 54 45 52 53 20 46 52 4F |5 CHARACTERS FRO|
000003E0: 4D 20 4E 41 4D 45 2E 0D 20 20 20 26 20 5B 4E 41 |M NAME.. & [NA|
000003F0: 4D 45 5D 20 57 4F 55 4C 44 20 55 53 45 20 54 48 |ME] WOULD USE TH|
00000400: 45 20 46 55 4C 4C 20 4C 45 4E 47 54 48 20 4F 46 |E FULL LENGTH OF|
00000410: 20 54 48 45 20 4E 41 4D 45 20 46 49 45 4C 44 2E | THE NAME FIELD.|
00000420: 0D 0D 20 20 20 20 20 20 20 D2 C5 CD C5 CD C2 C5 |.. .......|
00000430: D2 20 C6 C5 D7 C5 D2 20 CF D2 20 D3 C8 CF D2 D4 |. ..... .. .....|
00000440: C5 D2 20 D0 C1 D2 C1 CD C5 D4 C5 D2 D3 20 CD C5 |.. .......... ..|
00000450: C1 CE D3 20 C1 20 D1 D5 C9 C3 CB C5 D2 20 D3 CF |... . ....... ..|
00000460: D2 D4 2E 0D |.... |
REF 10 THE SORT COMMA
ND SORT PAGE 1
.---------------------------------------
----------------------------------------
-.THE SORT COMMAND IS USED TO SORT ALL O
R A SELECTED LIST OF RECORDS BY FIELDS.O
THER THAN THE KEY FIELD (RECORDS ARE ALR
EADY STORED IN KEY ORDER). THE RESULT.OF
A SORT WILL BE A FILE ON DISK OF THE RE
CORD KEYS IN THE ORDER OF THE SORT.PARAM
ETERS. THIS LIST CAN BE USED IN OUTPUT,
BATCH, PROG, REPORT OR SELECT..COMMAND S
YNTAX:.. SORT FROM "LIST" D- ON [FIE
LD] [FIELD2] &5 [FIELD3].....TO "NEWLIST
"..1. THE D- PARAMETER SPECIFIES A DESCE
NDING SORT AND MAY BE OMITTED...2. TO SO
RT ALL RECORDS IN A FILE SPECIFY SORT AL
L AND OMIT FROM "LIST"...3. THE LIST "HL
IST" WILL BE USED IF THE FILENAME IS OMI
TTED E.G. FROM ""..4. THE SORTED LIST WI
LL BE 'HLIST' IF THE TO COMMAND IS OMITT
ED..5. THE SORT WILL USE 10 CHARACTERS F
ROM EACH SPECIFIED FIELD UNLESS OTHERWIS
E. SPECIFIED BY AN & COMMAND. &5 [NAME
] WILL ONLY USE 5 CHARACTERS FROM NAME..
& [NAME] WOULD USE THE FULL LENGTH OF
THE NAME FIELD... REMEMBER FEWER
OR SHORTER PARAMETERS MEANS A QUICKER SO
RT..
×
C64 Image
> CLICK IMAGE PREVIEW FOR FULL MODAL