c kspectrum (http://www.meso-star.com/en_Products.html) - This file is part of kspectrum c Copyright (C) 2008-2015 - Méso-Star - Vincent Eymet c c This file must be used under the terms of the CeCILL license. c This source file is licensed as described in the file COPYING, which c you should have received as part of this distribution. The terms c are also available at c http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt c subroutine add_slash_if_absent(st) implicit none include 'max.inc' integer strlen character*(Nchar_mx) st character*1 last last=st(strlen(st):strlen(st)) c write(*,*) 'last character: ',last if (last.ne.'/') then st=st(1:strlen(st))//'/' endif return end