Hi,

i have a problem with the input values for lesser?
it should take any type of value. Anyway, used with sort i get an error , but
why ?:

list: [
[%readme.txt 4-Sep-1998/5:37:08+1:00 139 file "^/"]
[%user.r 26-Nov-1999/17:08:58+1:00 330 file "^/"]
]

i can compare the date in that way :

lesser? (second (first list)) (second (second list))
== true

but if i use sort/compare:

 sort/compare list func [a b] [lesser? (second a) (second b)]

i get following error:

** Script Error: Cannot use lesser? on date! value.
** Where: lesser? (second a) (second b)



Mit freundlichen Gruessen - Yours sincerely

Alexander Grimm
GE CompuNet Computer Distribution

Europaring 34-40, 50170 Kerpen, Germany
Phone: 02273/597-684, Fax: 02273/597-570,
Internet: [EMAIL PROTECTED]


This email is confidential. If you are not the intended recipient,
you must not disclose or use the information contained in it.
If you have received this mail in error, please tell us
immediately by return email and delete the document.

Reply via email to