[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'utility' (#aros)


Return a relatively unique number.


Source position: utility.pas line 249

function GetUniqueID: LongWord;

Function result

A 32-bit value that is unique.


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: 2017-01-10