I write the script as the following, but it does not work.
----------------------------------------------------
coor dist sele resid @Sresi .and. type @Stype end -
sele resid @ires .and. type HN end
set ROHN ?dist

coor dist sele ires @Sires .and. type OH2 end -
sele resid @ires .and. type HN end
set RO2HN ?dist

if @RO2HN .LT. @ROHN then

-----------------------------------------------
Can you tell me what is wrong ?


Edited by small_z (04/07/19 12:29 PM)