<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks, Herbert - that works well!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I need to use the distance between the nodes to 
define other things within LaTeX.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can this command be simply modified to get the 
result back from the PostScript calculation into LaTeX?<BR>i.e, to get the 
distance into a LaTeX length variable.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>%Usage: 
\setDistance{length}{NodeA}{NodeB}</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>\def\setDistance ...<BR>...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>\newlength{\distanceAB}<BR>\pnode(0,0){A}<BR>\pnode(3,4){B}<BR>\setDistance{\distanceAB}{A}{B}</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Douglas<A 
href="mailto:pstricks@tug.org"></A></FONT></DIV></BODY></HTML>