PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Limits
  • Calculating an identifier
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
Calculates a unique identifier (integer) for an executable or for a session. This data is not stored: it is lost at the end of the execution of the application or session.
Versions 15 and later
Android This function is now available for the Android applications.
New in version 15
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 16 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Versions 17 and later
Universal Windows 10 App This function is now available for the Windows Phone applications.
New in version 17
Universal Windows 10 App This function is now available for the Windows Phone applications.
Universal Windows 10 App This function is now available for the Windows Phone applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
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
WINDEVReports and QueriesAndroidAndroid Widget iPhone/iPadWindows MobileUniversal Windows 10 AppJavaUser code (UMC)
// Open a window with alias
OpenChild("Alias" + GetIdentifier() + " = Form")
WEBDEV - Server codePHPAjax
// Open a page with alias
GUID is int = ConnectionCount() + ...
GetIdentifier() + Now()
Syntax
<Result> = GetIdentifier()
<Result>: Integer
Generated identifier. The first call to GetIdentifier returns 1, the second one returns 2, ...
Remarks

Limits

  • The generated identifier is an integer, therefore it is limited to 231. The identifier becomes negative if this limit is exceeded.
  • GetIdentifier must be used in the main thread. It cannot be used in a parallel task.
    Versions 22 and later
    GetIdentifier can be used in a parallel task.
    New in version 22
    GetIdentifier can be used in a parallel task.
    GetIdentifier can be used in a parallel task.
Versions 15 and later

Calculating an identifier

You also have the ability to get a global identifier (GUID) via GetGUID.
New in version 15

Calculating an identifier

You also have the ability to get a global identifier (GUID) via GetGUID.

Calculating an identifier

You also have the ability to get a global identifier (GUID) via GetGUID.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Windows Mobile wp230obj.dll
Java wd230java.jar
Linux wd230obj.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment