[REBOL] sort/skip
From: hijim:pronet at: 12-Nov-2001 10:14
I need to sort a file of homeowner data to print a list for the front
gate codes. There are 7 fields in each record, so I tried:
button blue / 1.2 "Gate List" [
gate-list: copy my-data
sort/skip gate-list 7
print gate-list
]
** Script Error: Invalid argument: 7
** Where: func [face value][
gate-list: copy my-data
sort/skip gate-list 7
print gate-list
]
** Near: sort/skip gate-list 7
print gate-list
Where's the error? Sort works without the skip. Why not with it?
sort/skip -- Treat the series as records of fixed size.
size -- Size of each record. (Type: integer)
Jim