I am not sure about the  SORT, but I would suggest simply:

LIST = ""
KEY = ....
LIST<-1> = KEY

David Laansma
IT Manager
Hubbard Supply Co. 
Direct: 810-342-7143
Office:810-234-8681
Fax: 810-234-6142
www.hubbardsupply.com
"Delivering Products, Services, and Innovative Solutions"


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Greg Schraiber
Sent: Tuesday, February 03, 2009 11:30 AM
To: [email protected]
Subject: [U2] unibasic's sort function

I have a dynamic array built like this:

 

LIST = ""

 

 

KEY = CONDES.DESIGNATION : "*" : CONTRIB.DONOR.DATE : "*" : ID.NO

 

IF LEN(LIST) = 0 THEN

 LIST = KEY

END ELSE

 LIST := @AM : KEY

END

 

When I do:

LIST = SORT(LIST) in Unibasic, compil and run it, it returns LIST=0

 

Can anyone tell me what I am doing wrong?

 

Thanks for your help!

 

Greg Schraiber

Beloit College
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to