PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Existence of memory zone
  • Positioning in the memory zone
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Warning
From version 20, this feature is kept for backward compatibility. We recommend that you use the Associative arrays.
Retrieves the return value of an element found in a memory zone.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Retrieve the return value of element 7
// found in "MyMemoryZone"
ResRetrieve = MemRetrieve("MyMemoryZone", 7)
Syntax
<Result> = MemRetrieve(<Memory zone> , <Subscript>)
<Result>: Character string
  • Return value of the specified element (defined by MemAdd or MemModify),
  • Empty string ("") if the specified element was not found.
<Memory zone>: Character string (with quotes)
Name of memory zone, defined by MemCreate.
<Subscript>: Integer
Subscript of the element to use. The subscript of an element is returned by MemCurrent or MemSeek.
Remarks

Existence of memory zone

The existence of the memory zone is not checked.
If the specified memory zone does not exist, a WLanguage error occurs when MemRetrieve is used.
To check the existence of a memory zone, use MemExist.

Positioning in the memory zone

MemRetrieve is not positioned on the element used. To position on the <Subscript> element, use MemSetPosition.
Business / UI classification: Neutral code
Component: wd260std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment