Skip to content
AziasYur edited this page Feb 20, 2018 · 2 revisions

This utility lets you easily generate and verify UUID4-compliant strings.

Links:

Simple code    Module

Procedures

GenerateUUID4()

  Returns :
    A UUID4-compliant String.


IsUUID4Compliant(uuid4$)

  Parameters:
    uuid4$ - A String that will be analysed.

  Returns :
    A nonzero value if uuid4$ matches the #REGEX_ID_UUID4` regex.


Additional Informations

When importing the utility for the first time in your code, it will automatically initialyze the regex.
In case the [initilisation] fails, a message will be printed to the debugger and the program will end with the exit code corresponding to #ERR_REGEX_UUID4CreationFailure.

Constant(s) used:
  ● #REGEX_UUID4

Enumeration(s) used:
  ● Regex
      ⚬ #REGEX_ID_UUID4
  ● ErrorCode
      ⚬ #ERR_REGEX_UUID4CreationFailure


Version History

1.1.0

  ● Changed the #_ERR_REGEX_UUID4CreationFailure constant to #ERR_REGEX_UUID4CreationFailure.
  ● Changed the #_REGEX_UUID4 constant to #REGEX_UUID4.
  ● Made the utility compaptible with EnableExplicit again.
  ● Made a module version of the utility.
  ● Deleted the Logger version of the utility.

1.0.2

  ● Added folding characters and section titles
  ● Implemented the Unit Testing utility.
  ● Deprecated the Logger version of the utility.

1.0.1

  ● Added a basic test.
  ● Added a version that uses the Logger utility.

1.0.0 (Prior to using semantic versioning)

  ● Created UUID4.pb and UUID4-Lite.pb
  ● Deleted UUID4-Lite.pb


Planned Features

  • A byte[] version of the generate ?

Clone this wiki locally