Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

UNIQUEKEY

Description

The function returns a unique 16-byte character key, that it generates at each call to the function.  It takes the general form:

UNIQUEKEY()


The key contains characters from the set A-Z a-z 0-9 ^ and _.

Based on the current UTC time and the process number, the key is unique on a single computer system providing that the system clock is not turned back.

If the system administrator adjusts the system clock backwards, then there is a slight possibility of generating duplicate keys during the period until the clock has caught back up to time that the adjustment was made.

Any process that continues to execute throughout this period will continue to produce unique keys.

A process that starts up during this period and is given the process ID of a process that terminated during the period, may possibly generate a duplicate key until the period ends.

Note

Change 5_20431 changed the '+' and '/' to '^' and '_' respectively.   

Go back to jBASE BASIC.

Was this article helpful?