Tinderbox v9 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");