00000000: D2 45 46 20 20 31 30 20 20 20 20 20 20 20 20 20 |.EF 10 |
00000010: 20 D3 CF D2 D4 20 20 20 20 20 20 20 20 20 20 20 | .... |
00000020: 20 20 D0 41 47 45 20 31 0D 2D 2D 2D 2D 2D 2D 2D | .AGE 1.-------|
00000030: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |----------------|
00000040: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |----------------|
00000050: 2D 0D 0D D4 48 45 20 D3 CF D2 D4 20 43 4F 4D 4D |-...HE .... COMM|
00000060: 41 4E 44 20 49 53 20 55 53 45 44 20 54 4F 20 53 |AND IS USED TO S|
00000070: 4F 52 54 20 41 4C 4C 20 4F 52 0D 41 20 53 45 4C |ORT ALL OR.A SEL|
00000080: 45 43 54 45 44 20 4C 49 53 54 20 4F 46 20 52 45 |ECTED LIST OF RE|
00000090: 43 4F 52 44 53 20 42 59 20 46 49 45 4C 44 53 0D |CORDS BY FIELDS.|
000000A0: 4F 54 48 45 52 20 54 48 41 4E 20 54 48 45 20 4B |OTHER THAN THE K|
000000B0: 45 59 20 46 49 45 4C 44 20 28 52 45 43 4F 52 44 |EY FIELD (RECORD|
000000C0: 53 20 41 52 45 0D 41 4C 52 45 41 44 59 20 53 54 |S ARE.ALREADY ST|
000000D0: 4F 52 45 44 20 49 4E 20 4B 45 59 20 4F 52 44 45 |ORED IN KEY ORDE|
000000E0: 52 29 2E 20 D4 48 45 20 52 45 53 55 4C 54 0D 4F |R). .HE RESULT.O|
000000F0: 46 20 41 20 D3 CF D2 D4 20 57 49 4C 4C 20 42 45 |F A .... WILL BE|
00000100: 20 41 20 46 49 4C 45 20 4F 4E 20 44 49 53 4B 20 | A FILE ON DISK |
00000110: 4F 46 20 54 48 45 0D 52 45 43 4F 52 44 20 4B 45 |OF THE.RECORD KE|
00000120: 59 53 20 49 4E 20 54 48 45 20 4F 52 44 45 52 20 |YS IN THE ORDER |
00000130: 4F 46 20 54 48 45 20 53 4F 52 54 0D 50 41 52 41 |OF THE SORT.PARA|
00000140: 4D 45 54 45 52 53 2E 20 D4 48 49 53 20 4C 49 53 |METERS. .HIS LIS|
00000150: 54 20 43 41 4E 20 42 45 20 55 53 45 44 20 49 4E |T CAN BE USED IN|
00000160: 0D CF D5 D4 D0 D5 D4 2C 20 C2 C1 D4 C3 C8 2C 20 |......., ....., |
00000170: D0 D2 CF C7 2C 20 D2 C5 D0 CF D2 D4 20 4F 52 20 |...., ...... OR |
00000180: D3 C5 CC C5 C3 D4 2E 0D 0D C3 4F 4D 4D 41 4E 44 |..........OMMAND|
00000190: 20 D3 59 4E 54 41 58 3A 0D 0D D3 CF D2 D4 20 46 | .YNTAX:...... F|
000001A0: 52 4F 4D 20 22 4C 49 53 54 22 20 C4 2D 4F 4E 20 |ROM "LIST" .-ON |
000001B0: 5B 46 49 45 4C 44 5D 20 5B 46 49 45 4C 44 32 5D |[FIELD] [FIELD2]|
000001C0: 0D 20 26 35 20 5B 46 49 45 4C 44 33 5D 2E 2E 2E |. &5 [FIELD3]...|
000001D0: 2E 2E D4 CF 20 22 4E 45 57 4C 49 53 54 22 0D 0D |.... "NEWLIST"..|
000001E0: 31 20 20 D4 48 45 20 C4 2D 20 50 41 52 41 4D 45 |1 .HE .- PARAME|
000001F0: 54 45 52 20 53 50 45 43 49 46 49 45 53 20 41 0D |TER SPECIFIES A.|
00000200: 20 20 20 44 45 53 43 45 4E 44 49 4E 47 20 53 4F | DESCENDING SO|
00000210: 52 54 20 41 4E 44 20 4D 41 59 20 42 45 20 4F 4D |RT AND MAY BE OM|
00000220: 49 54 54 45 44 2E 0D 0D 32 20 20 D4 4F 20 53 4F |ITTED...2 .O SO|
00000230: 52 54 20 41 4C 4C 20 52 45 43 4F 52 44 53 20 49 |RT ALL RECORDS I|
00000240: 4E 20 41 20 46 49 4C 45 20 53 50 45 43 49 46 59 |N A FILE SPECIFY|
00000250: 0D 20 20 20 D3 CF D2 D4 20 C1 CC CC 20 41 4E 44 |. .... ... AND|
00000260: 20 4F 4D 49 54 20 C6 D2 CF CD 20 22 4C 49 53 54 | OMIT .... "LIST|
00000270: 22 2E 0D 0D D2 45 46 20 20 31 30 20 20 20 20 20 |"....EF 10 |
00000280: 20 20 20 20 20 D3 CF D2 D4 20 20 20 20 20 20 20 | .... |
00000290: 20 20 20 20 20 20 D0 41 47 45 20 32 0D 2D 2D 2D | .AGE 2.---|
000002A0: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |----------------|
000002B0: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |----------------|
000002C0: 2D 2D 2D 2D 2D 0D 0D 33 20 20 D4 48 45 20 4C 49 |-----..3 .HE LI|
000002D0: 53 54 20 27 48 4C 49 53 54 27 20 57 49 4C 4C 20 |ST 'HLIST' WILL |
000002E0: 42 45 20 55 53 45 44 20 49 46 20 54 48 45 0D 20 |BE USED IF THE. |
000002F0: 20 20 46 49 4C 45 4E 41 4D 45 20 49 53 20 4F 4D | FILENAME IS OM|
00000300: 49 54 54 45 44 2E 20 45 2E 47 2E 20 C6 D2 CF CD |ITTED. E.G. ....|
00000310: 20 22 22 0D 0D 34 20 20 D4 48 45 20 53 4F 52 54 | ""..4 .HE SORT|
00000320: 45 44 20 4C 49 53 54 20 57 49 4C 4C 20 42 45 20 |ED LIST WILL BE |
00000330: 27 48 4C 49 53 54 27 20 49 46 0D 20 20 20 54 48 |'HLIST' IF. TH|
00000340: 45 20 D4 CF 20 43 4F 4D 4D 41 4E 44 20 49 53 20 |E .. COMMAND IS |
00000350: 4F 4D 49 54 54 45 44 2E 0D 0D 35 20 20 D4 48 45 |OMITTED...5 .HE|
00000360: 20 53 4F 52 54 20 57 49 4C 4C 20 55 53 45 20 31 | SORT WILL USE 1|
00000370: 30 20 43 48 41 52 41 43 54 45 52 53 20 46 52 4F |0 CHARACTERS FRO|
00000380: 4D 0D 20 20 20 45 41 43 48 20 53 50 45 43 49 46 |M. EACH SPECIF|
00000390: 49 45 44 20 46 49 45 4C 44 20 55 4E 4C 45 53 53 |IED FIELD UNLESS|
000003A0: 20 4F 54 48 45 52 57 49 53 45 0D 20 20 20 53 50 | OTHERWISE. SP|
000003B0: 45 43 49 46 49 45 44 20 42 59 20 41 4E 20 26 20 |ECIFIED BY AN & |
000003C0: 43 4F 4D 4D 41 4E 44 2E 20 26 35 20 5B 4E 41 4D |COMMAND. &5 [NAM|
000003D0: 45 5D 0D 20 20 20 57 49 4C 4C 20 4F 4E 4C 59 20 |E]. WILL ONLY |
000003E0: 55 53 45 20 35 20 43 48 41 52 41 43 54 45 52 53 |USE 5 CHARACTERS|
000003F0: 20 46 52 4F 4D 20 4E 41 4D 45 2E 0D 20 20 20 26 | FROM NAME.. &|
00000400: 20 5B 4E 41 4D 45 5D 20 57 4F 55 4C 44 20 55 53 | [NAME] WOULD US|
00000410: 45 20 54 48 45 20 46 55 4C 4C 20 4C 45 4E 47 54 |E THE FULL LENGT|
00000420: 48 20 4F 46 0D 20 20 20 54 48 45 20 4E 41 4D 45 |H OF. THE NAME|
00000430: 20 46 49 45 4C 44 2E 0D 0D D2 45 4D 45 4D 42 45 | FIELD....EMEMBE|
00000440: 52 20 46 45 57 45 52 20 4F 52 20 53 48 4F 52 54 |R FEWER OR SHORT|
00000450: 45 52 20 50 41 52 41 4D 45 54 45 52 53 0D 4D 45 |ER PARAMETERS.ME|
00000460: 41 4E 53 20 41 20 51 55 49 43 4B 45 52 20 53 4F |ANS A QUICKER SO|
00000470: 52 54 2E 0D 0D 0D 0D 0D 0D 00 |RT........ |
REF 10 SORT PAGE 1
.---------------------------------------
-..THE SORT COMMAND IS USED TO SORT ALL
OR.A SELECTED LIST OF RECORDS BY FIELDS.
OTHER THAN THE KEY FIELD (RECORDS ARE.AL
READY STORED IN KEY ORDER). THE RESULT.O
F A SORT WILL BE A FILE ON DISK OF THE.R
ECORD KEYS IN THE ORDER OF THE SORT.PARA
METERS. THIS LIST CAN BE USED IN.OUTPUT,
BATCH, PROG, REPORT OR SELECT...COMMAND
SYNTAX:..SORT FROM "LIST" D-ON [FIELD]
[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
ALL AND OMIT FROM "LIST"...REF 10
SORT PAGE 2.-----------
-----------------------------..3 THE LI
ST 'HLIST' WILL BE USED IF THE. FILENA
ME IS OMITTED. E.G. FROM ""..4 THE SORT
ED LIST WILL BE 'HLIST' IF. THE TO COM
MAND IS OMITTED...5 THE SORT WILL USE 1
0 CHARACTERS FROM. EACH SPECIFIED FIEL
D UNLESS OTHERWISE. SPECIFIED BY AN &
COMMAND. &5 [NAME]. WILL ONLY USE 5 CH
ARACTERS FROM NAME.. & [NAME] WOULD US
E THE FULL LENGTH OF. THE NAME FIELD..
.REMEMBER FEWER OR SHORTER PARAMETERS.ME
ANS A QUICKER SORT........
×
C64 Image
> CLICK IMAGE PREVIEW FOR FULL MODAL