Did you know ... | Search Documentation: |
Pack logtalk -- logtalk-3.86.0/docs/_sources/ids_2.rst.txt |
.. index:: ids(Representationï¼Bytes) .. _ids/2:
.. rst-class:: right
object
ids(Representation,Bytes)
Representation
- Text representation for the identifier. Possible values are atom
, chars
, and codes
.Bytes
- Number of bytes of randomness.
Generator of random identifiers.
| Availability:
| logtalk_load(ids(loader))
| Author: Paulo Moura | Version: 1:0:0 | Date: 2022-11-23
| Compilation flags:
| static, context_switching_calls
| Uses: | :ref:`base64 <base64/0>` | :ref:`fast_random <fast_random/0>` | :ref:`list <list/0>` | :ref:`os <os/0>`
| Remarks: | (none)
| Inherited public predicates: | (none)
.. contents:: :local: :backlinks: top
.. index:: generate/1 .. _ids/2::generate/1:
generate/1 ^^^^^^^^^^^^^^
Generate a random identifier.
| Compilation flags:
| static
| Template:
| generate(Identifier)
| Mode and number of proofs:
| generate(--textids)
- one
(no local declarations; see entity ancestors if any)
(no local declarations; see entity ancestors if any)
(none)
.. seealso::
:ref:`ids <ids/0>`, :ref:`uuid <uuid/0>`, :ref:`ulid <ulid/0>`