Unit 'utility' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

GetUniqueID

Return a relatively unique number.

Declaration

Source position: utility.pas line 359

function GetUniqueID: LongWord;

Function result

A 32-bit value that is unique.

Description

Returns a unique value each time it is called. This is useful for things that need unique ID such as the GadgetHelp ID, etc. Note that this is only unique for 4,294,967,295 calls to this function. Under normal use this is not a problem. This function is safe in interrupts.


Documentation generated on: 2021-07-30