Tinderbox v10 Icon

IDString


Attribute Data Type: 

Attribute Default Value: 

Attribute Group: 

Attribute Purpose: 

Attribute Inherited from Preferences?   

Attribute UI-configurable? 

Attribute Read-Only? 

Attribute Intrinsic? 

Attribute First Added: 

Attribute Last Altered: 

 string   [other string-type attributes]

 (not set - empty string)

 General   [other General Group attributes]

 Calculated data

 No

 No

 Yes   [other read-only attributes]

 Yes   [other intrinsic attributes]

 Baseline

 As at baseline


A more compact, string, alternative to $ID

$IDString, provides a more compact alternative to $ID. It is auto-calculated from $ID and thus is not seen in the saved XML source code of TBX files As a String it is less liable to accidental mathematical transformation when used in action code expressions.

For example, a typical value of $ID might be1666143079, and its corresponding $IDString is tbx:BjT1Nn.

As $IDString may be used interchangeably with $ID, $IDString is suggested as the more robust choice when referring to IDs. Few users, except those using much/complex action code need to work with IDs. It is suggested to use $IDString for new code, but do not rush to update all existing code from $ID to $IDString unless there is an indication it is needed.