Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays
Message
From
10/05/2002 12:20:11
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Arrays
Miscellaneous
Thread ID:
00655128
Message ID:
00655132
Views:
28
>>Hi all I am new and need your help.
>>
>>
>>I am trying to write a program using an array that will but the names in my fields in topdown order.
>>
>>example
>>name1 = john
>>name2 =
>>name3 =
>>name4 = jane
>>name5 = joe
>>
>>I want to move the names so the come out like this.
>>name1 = john
>>name2 = jane
>>name3 = joe
>>name4 =
>>name5 =
>>
>>How would I do this in an array? Can anyone help..
>>
>>
>>Thanks in advance...

asort(arrArrayName,1,-1,1)
would sort to :
john
joe
jane
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform