ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Memory area functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
MemSort_55 (Function)
In french: MemTri
Warning
MemSort_55 is kept for backward compatibility.
In this version, use MemSort.
Below is the documentation of MemSort_55.
 
Purpose
Sort a memory zone according to the sort argument specified in MemAdd.
Syntax
MemSort_55(<Memory_Zone> [, <Direction>])
  • <Memory_Zone> is a character string containing the name of the memory area (up to 20 characters)
  • <Direction> indicates the sort direction
Details
The memory area is sorted:
  • in ascending order if <Direction> is set to True (default value)
  • in descending order, if <Direction> is set to False.
A WLanguage error occurs ar runtime if <Memory_Zone> is not found. Before handling a memory area, this one must be created by MemCreate. Its existence is checked by MemExist.
Notes
The sort is used by MemFirst, MemLast, MemNext, MemPrevious and MemSeek.
The sort argument is specified in MemAdd and MemModify.
Once several additions or modifications have been performed in the memory zone, you must ask for a new sort with MemSort_55.
Component: wd290std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help