if your list had been 70 records it would not have minded.... ;-) sort/skip expects the block size to be lenght? by a multiple of the amount specified in skip... otherwise it couldn't really sort the last (and probably corrupt) fields of data, which do not make up a complete "record". maybe it actually sorts up to the end and then has a few records left over it doesn't know what to do with...
-Maxim ----- Original Message ----- From: "Jim Clatfelter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 3:53 PM Subject: [REBOL] never mind > I made a mistake. I have 10 fields per record. I changed the 7 to a 10 > and everything works fine. Very strange. Now the number is a valid > argument. I guess it just didn't like number 7. > > Jim > > Jim Clatfelter wrote: > > > 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 > > > > -- > > To unsubscribe from this list, please send an email to > > [EMAIL PROTECTED] with "unsubscribe" in the > > subject, without the quotes. > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
