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.
