AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones varias de WINDEV
  • Limits
  • Calculating an identifier
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
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.
Example
WINDEVReports and QueriesUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetMac CatalystJavaUser 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 can be used in a parallel task.

Calculating an identifier

You also have the ability to get a global identifier (GUID) via GetGUID.
Business / UI classification: Neutral code
Component: wd290obj.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local