This version is out of date, covering development from v8.0.0 to v8.x.x. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v8 Icon

distance(note1,note2)


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 Item   [operators of similar scope]

 Data manipulation   [other Data manipulation operators]

 Baseline

 


distance(note1,note2)

returns the map distance (in map units) between the centres of two notes. note1 and note2 are a name, path, attribute value or expression returning a unique reference to a note.

To find the distance between note 'AA' and note 'BB':

$MyNumber = distance("AA,"BB");