>  Docs Center  >  Libraries  >  Buie  >  IDSTRING
Libraries

IDSTRING

IDSTRING

Name


  idstring

Purpose (one Line Only)


  Generate a (hopefully) unique string

Description


  This is used to provide a string that can be used to identify something
    unique to the current calculation. The provided string can be used to
    tag things, like a unique process that is running on a given computer
    that can be used to tag and refer to different things running on the same
    (or different) machine.

Category


  Miscellaneous

Calling Sequence


  str=idstring(seed)

Inputs


Optional Input Parameters


  seed - optional input, seed for the random number generator. the default
            is an undefined variable which is then passed to randomu.

Keyword Input Parameters


  SILENT - flag, if set will suppress informative output

Outputs


  Returns a single string with the host name, followed by '_' followed by
    4 digits to make it (nearly) unique

Keyword Output Parameters


Common Blocks


Side Effects


Restrictions


Procedure


Modification History


  2016/12/31 - Written by Marc W. Buie, Southwest Research Institute



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us