module his2csv_version_module !----- LGPL -------------------------------------------------------------------- ! ! Copyright (C) Stichting Deltares, 2011-2017. ! ! This library is free software; you can redistribute it and/or ! modify it under the terms of the GNU Lesser General Public ! License as published by the Free Software Foundation version 2.1. ! ! This library is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! Lesser General Public License for more details. ! ! You should have received a copy of the GNU Lesser General Public ! License along with this library; if not, see . ! ! contact: delft3d.support@deltares.nl ! Stichting Deltares ! P.O. Box 177 ! 2600 MH Delft, The Netherlands ! ! All indications and logos of, and references to, "Delft3D" and "Deltares" ! are registered trademarks of Stichting Deltares, and remain the property of ! Stichting Deltares. All rights reserved. ! !------------------------------------------------------------------------------- ! $Id$ ! $HeadURL$ implicit none character(*), public, parameter :: his2csv_major = 'VN_MAJOR' character(*), public, parameter :: his2csv_minor = 'VN_MINOR' character(*), public, parameter :: his2csv_revision = 'VN_REVISION' character(*), public, parameter :: his2csv_build_number = 'VN_BUILD_NUMBER' character(*), public, parameter :: his2csv_company = 'Deltares' character(*), public, parameter :: his2csv_company_url = 'http://www.deltares.nl' character(*), public, parameter :: his2csv_program = 'HIS2CSV' character(*), public, parameter :: his2csv_version = his2csv_major//'.'//his2csv_minor//'.'//his2csv_revision//'.'//his2csv_build_number character(*), public, parameter :: his2csv_version_full = 'Deltares, '//his2csv_program//' Version '//his2csv_version character(*), public, parameter :: his2csv_version_id = '@(#)'//his2csv_version_full contains subroutine getfullversionstring_his2csv(stringout) character(*), intent(out) :: stringout integer :: length length = min(len_trim(his2csv_version_full),len(stringout)) stringout = his2csv_version_id(5:5+length-1) end subroutine getfullversionstring_his2csv end module his2csv_version_module