...
Returns true if there is a connecting line between the two markers or false if there is not.
Scroll pagebreak |
---|
Examples
...
language | text |
---|
// Determine if there is a connecting line
...
// between two markers.
...
boolean $hasLine;
...
// First set up some marker connections on the head
...
setMarkerConnection "LFHD" "RFHD";
...
setMarkerConnection "RFHD" "RBHD";
...
// Demonstrate the existence of the marker connection we just made.
...
$hasLine = `getMarkerConnection "LFHD" "RFHD"`;
...
print $hasLine; // Should be true
...
// Demonstrate the lack of a connection
...
$hasLine = `getMarkerConnection "LBHD" "RFHD"`;
...
print $hasLine; // Should be false
Additional information
Related commands
...