Contents:

 

 

Introduction


News blog


What is Servoy?


Getting Started


Comparison Servoy/VFP


Performance


How-To's

 

Code Reference

 

VFP2Servoy Toolkit

 

 

Contact / feedback

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASORT() - array.sort



Sorts elements in an array.

 

VFP code example

DIMENSION aWords(6)
aWords(1)= "limit"
aWords(2)= "lines"
aWords(3)= "finish"
aWords(4)= "complete"
aWords(5)= "In"
aWords(6)= "Out"

ASORT(aWords)

? aWords(1) && returns In
? aWords(2) && returns Out
? aWords(3) && returns complete
? aWords(4) && returns finish
? aWords(5) && returns limit
? aWords(6) && returns lines

 

Servoy code example


var words = new Array("limit","lines","finish","complete","In","Out"); words.sort();

words[0];         // returns Inn
words[1];         // returns Outt
words[2];         // returns completee
words[3];         // returns finishh
words[4];         // returns limitt
words[5];         // returns linee
 

 

 

External resources:

 

vfp plugin

 

ServoyWorld 2012 pics

 

Official Servoy website

 

Ken Levy on Servoy

 

Servoy info

 

Servoy Forum

 

Servoy Documentation

 

VisualFoxpro.com © 2010-2012 • All rights reserved • Contact: info@visualfoxpro.com