365 INTEGER(INTG),
INTENT(IN) :: ID
366 CHARACTER(LEN=*),
INTENT(IN) :: STRING
367 INTEGER(INTG),
INTENT(OUT) :: ERR
378 999 errorsexits(
"WRITE_STRING_C",err,error)
390 INTEGER(INTG),
INTENT(IN) :: ID
392 INTEGER(INTG),
INTENT(OUT) :: ERR
403 999 errorsexits(
"WRITE_STRING_VS",err,error)
415 INTEGER(INTG),
INTENT(IN) :: ID
416 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
417 CHARACTER(LEN=*),
INTENT(IN) ::
VALUE 418 INTEGER(INTG),
INTENT(OUT) :: ERR
425 local_string=first_string//value(1:
len_trim(
VALUE))
431 999 errorsexits(
"WRITE_STRING_VALUE_C",err,error)
444 INTEGER(INTG),
INTENT(IN) :: ID
445 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
446 REAL(DP),
INTENT(IN) ::
VALUE 447 INTEGER(INTG),
INTENT(OUT) :: ERR
461 999 errorsexits(
"WRITE_STRING_VALUE_DP",err,error)
474 INTEGER(INTG),
INTENT(IN) :: ID
475 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
476 INTEGER(INTG),
INTENT(IN) ::
VALUE 477 INTEGER(INTG),
INTENT(OUT) :: ERR
491 999 errorsexits(
"WRITE_STRING_VALUE_INTG",err,error)
504 INTEGER(INTG),
INTENT(IN) :: ID
505 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
506 INTEGER(LINTG),
INTENT(IN) ::
VALUE 507 INTEGER(INTG),
INTENT(OUT) :: ERR
521 999 errorsexits(
"WRITE_STRING_VALUE_LINTG",err,error)
534 INTEGER(INTG),
INTENT(IN) :: ID
535 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
536 LOGICAL,
INTENT(IN) ::
VALUE 537 INTEGER(INTG),
INTENT(OUT) :: ERR
550 999 errorsexits(
"WRITE_STRING_VALUE_L",err,error)
563 INTEGER(INTG),
INTENT(IN) :: ID
564 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
565 REAL(SP),
INTENT(IN) ::
VALUE 566 INTEGER(INTG),
INTENT(OUT) :: ERR
569 CHARACTER(LEN=1) :: FORMAT_STRING =
"*" 581 999 errorsexits(
"WRITE_STRING_VALUE_SP",err,error)
594 INTEGER(INTG),
INTENT(IN) :: ID
595 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
597 INTEGER(INTG),
INTENT(OUT) :: ERR
605 local_string=first_string
607 local_string=first_string//
VALUE 614 999 errorsexits(
"WRITE_STRING_VALUE_VS",err,error)
627 INTEGER(INTG),
INTENT(IN) :: ID
628 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
629 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_VALUE
630 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
631 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_VALUE
632 INTEGER(INTG),
INTENT(OUT) :: ERR
639 local_string=first_string//first_value//second_string//second_value
645 999 errorsexits(
"WRITE_STRING_TWO_VALUE_C_C",err,error)
658 INTEGER(INTG),
INTENT(IN) :: ID
659 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
660 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_VALUE
661 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
662 REAL(DP),
INTENT(IN) :: SECOND_VALUE
663 INTEGER(INTG),
INTENT(OUT) :: ERR
670 local_string=first_string//first_value//second_string//
number_to_vstring(second_value,
"*",err,error)
677 999 errorsexits(
"WRITE_STRING_TWO_VALUE_C_DP",err,error)
690 INTEGER(INTG),
INTENT(IN) :: ID
691 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
692 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_VALUE
693 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
694 INTEGER(INTG),
INTENT(IN) :: SECOND_VALUE
695 INTEGER(INTG),
INTENT(OUT) :: ERR
702 local_string=first_string//first_value//second_string//
number_to_vstring(second_value,
"*",err,error)
709 999 errorsexits(
"WRITE_STRING_TWO_VALUE_C_INTG",err,error)
722 INTEGER(INTG),
INTENT(IN) :: ID
723 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
724 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_VALUE
725 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
726 LOGICAL,
INTENT(IN) :: SECOND_VALUE
727 INTEGER(INTG),
INTENT(OUT) :: ERR
734 local_string=first_string//first_value//second_string//
logical_to_vstring(second_value,err,error)
740 999 errorsexits(
"WRITE_STRING_TWO_VALUE_C_L",err,error)
753 INTEGER(INTG),
INTENT(IN) :: ID
754 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
755 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_VALUE
756 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
757 REAL(SP),
INTENT(IN) :: SECOND_VALUE
758 INTEGER(INTG),
INTENT(OUT) :: ERR
765 local_string=first_string//first_value//second_string//
number_to_vstring(second_value,
"*",err,error)
772 999 errorsexits(
"WRITE_STRING_TWO_VALUE_C_SP",err,error)
785 INTEGER(INTG),
INTENT(IN) :: ID
786 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
787 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_VALUE
788 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
790 INTEGER(INTG),
INTENT(OUT) :: ERR
797 local_string=first_string//first_value//second_string//second_value
803 999 errorsexits(
"WRITE_STRING_TWO_VALUE_C_VS",err,error)
816 INTEGER(INTG),
INTENT(IN) :: ID
817 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
818 REAL(DP),
INTENT(IN) :: FIRST_VALUE
819 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
820 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_VALUE
821 INTEGER(INTG),
INTENT(OUT) :: ERR
828 local_string=first_string//
number_to_vstring(first_value,
"*",err,error)//second_string//second_value
835 999 errorsexits(
"WRITE_STRING_TWO_VALUE_DP_C",err,error)
848 INTEGER(INTG),
INTENT(IN) :: ID
849 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
850 REAL(DP),
INTENT(IN) :: FIRST_VALUE
851 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
852 REAL(DP),
INTENT(IN) :: SECOND_VALUE
853 INTEGER(INTG),
INTENT(OUT) :: ERR
863 local_string2=local_string//second_string
871 999 errorsexits(
"WRITE_STRING_TWO_VALUE_DP_DP",err,error)
884 INTEGER(INTG),
INTENT(IN) :: ID
885 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
886 REAL(DP),
INTENT(IN) :: FIRST_VALUE
887 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
888 INTEGER(INTG),
INTENT(IN) :: SECOND_VALUE
889 INTEGER(INTG),
INTENT(OUT) :: ERR
899 local_string2=local_string//second_string
907 999 errorsexits(
"WRITE_STRING_TWO_VALUE_DP_INTG",err,error)
920 INTEGER(INTG),
INTENT(IN) :: ID
921 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
922 REAL(DP),
INTENT(IN) :: FIRST_VALUE
923 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
924 LOGICAL,
INTENT(IN) :: SECOND_VALUE
925 INTEGER(INTG),
INTENT(OUT) :: ERR
935 local_string2=local_string//second_string
942 999 errorsexits(
"WRITE_STRING_TWO_VALUE_DP_L",err,error)
955 INTEGER(INTG),
INTENT(IN) :: ID
956 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
957 REAL(DP),
INTENT(IN) :: FIRST_VALUE
958 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
959 REAL(SP),
INTENT(IN) :: SECOND_VALUE
960 INTEGER(INTG),
INTENT(OUT) :: ERR
970 local_string2=local_string//second_string
978 999 errorsexits(
"WRITE_STRING_TWO_VALUE_DP_SP",err,error)
991 INTEGER(INTG),
INTENT(IN) :: ID
992 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
993 REAL(DP),
INTENT(IN) :: FIRST_VALUE
994 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
996 INTEGER(INTG),
INTENT(OUT) :: ERR
1003 local_string=first_string//
number_to_vstring(first_value,
"*",err,error)//second_string//second_value
1010 999 errorsexits(
"WRITE_STRING_TWO_VALUE_DP_VS",err,error)
1023 INTEGER(INTG),
INTENT(IN) :: ID
1024 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1025 INTEGER(INTG),
INTENT(IN) :: FIRST_VALUE
1026 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1027 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_VALUE
1028 INTEGER(INTG),
INTENT(OUT) :: ERR
1035 local_string=first_string//
number_to_vstring(first_value,
"*",err,error)//second_string//second_value
1042 999 errorsexits(
"WRITE_STRING_TWO_VALUE_INTG_C",err,error)
1055 INTEGER(INTG),
INTENT(IN) :: ID
1056 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1057 INTEGER(INTG),
INTENT(IN) :: FIRST_VALUE
1058 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1059 REAL(DP),
INTENT(IN) :: SECOND_VALUE
1060 INTEGER(INTG),
INTENT(OUT) :: ERR
1070 local_string2=local_string//second_string
1078 999 errorsexits(
"WRITE_STRING_TWO_VALUE_INTG_DP",err,error)
1091 INTEGER(INTG),
INTENT(IN) :: ID
1092 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1093 INTEGER(INTG),
INTENT(IN) :: FIRST_VALUE
1094 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1095 INTEGER(INTG),
INTENT(IN) :: SECOND_VALUE
1096 INTEGER(INTG),
INTENT(OUT) :: ERR
1106 local_string2=local_string//second_string
1114 999 errorsexits(
"WRITE_STRING_TWO_VALUE_INTG_INTG",err,error)
1127 INTEGER(INTG),
INTENT(IN) :: ID
1128 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1129 INTEGER(INTG),
INTENT(IN) :: FIRST_VALUE
1130 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1131 LOGICAL,
INTENT(IN) :: SECOND_VALUE
1132 INTEGER(INTG),
INTENT(OUT) :: ERR
1142 local_string2=local_string//second_string
1149 999 errorsexits(
"WRITE_STRING_TWO_VALUE_INTG_L",err,error)
1162 INTEGER(INTG),
INTENT(IN) :: ID
1163 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1164 INTEGER(INTG),
INTENT(IN) :: FIRST_VALUE
1165 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1166 REAL(SP),
INTENT(IN) :: SECOND_VALUE
1167 INTEGER(INTG),
INTENT(OUT) :: ERR
1177 local_string2=local_string//second_string
1185 999 errorsexits(
"WRITE_STRING_TWO_VALUE_INTG_SP",err,error)
1198 INTEGER(INTG),
INTENT(IN) :: ID
1199 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1200 INTEGER(INTG),
INTENT(IN) :: FIRST_VALUE
1201 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1203 INTEGER(INTG),
INTENT(OUT) :: ERR
1210 local_string=first_string//
number_to_vstring(first_value,
"*",err,error)//second_string//second_value
1217 999 errorsexits(
"WRITE_STRING_TWO_VALUE_INTG_VS",err,error)
1230 INTEGER(INTG),
INTENT(IN) :: ID
1231 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1232 LOGICAL,
INTENT(IN) :: FIRST_VALUE
1233 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1234 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_VALUE
1235 INTEGER(INTG),
INTENT(OUT) :: ERR
1242 local_string=first_string//
logical_to_vstring(first_value,err,error)//second_string//second_value
1249 999 errorsexits(
"WRITE_STRING_TWO_VALUE_L_C",err,error)
1262 INTEGER(INTG),
INTENT(IN) :: ID
1263 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1264 LOGICAL,
INTENT(IN) :: FIRST_VALUE
1265 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1266 REAL(DP),
INTENT(IN) :: SECOND_VALUE
1267 INTEGER(INTG),
INTENT(OUT) :: ERR
1277 local_string2=local_string//second_string
1285 999 errorsexits(
"WRITE_STRING_TWO_VALUE_L_DP",err,error)
1298 INTEGER(INTG),
INTENT(IN) :: ID
1299 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1300 LOGICAL,
INTENT(IN) :: FIRST_VALUE
1301 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1302 INTEGER(INTG),
INTENT(IN) :: SECOND_VALUE
1303 INTEGER(INTG),
INTENT(OUT) :: ERR
1312 local_string=local_string//second_string//
number_to_vstring(second_value,
"*",err,error)
1319 999 errorsexits(
"WRITE_STRING_TWO_VALUE_L_INTG",err,error)
1332 INTEGER(INTG),
INTENT(IN) :: ID
1333 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1334 LOGICAL,
INTENT(IN) :: FIRST_VALUE
1335 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1336 LOGICAL,
INTENT(IN) :: SECOND_VALUE
1337 INTEGER(INTG),
INTENT(OUT) :: ERR
1347 local_string2=local_string//second_string
1354 999 errorsexits(
"WRITE_STRING_TWO_VALUE_L_L",err,error)
1367 INTEGER(INTG),
INTENT(IN) :: ID
1368 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1369 LOGICAL,
INTENT(IN) :: FIRST_VALUE
1370 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1371 REAL(SP),
INTENT(IN) :: SECOND_VALUE
1372 INTEGER(INTG),
INTENT(OUT) :: ERR
1381 local_string=local_string//second_string//
number_to_vstring(second_value,
"*",err,error)
1388 999 errorsexits(
"WRITE_STRING_TWO_VALUE_L_SP",err,error)
1401 INTEGER(INTG),
INTENT(IN) :: ID
1402 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1403 LOGICAL,
INTENT(IN) :: FIRST_VALUE
1404 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1406 INTEGER(INTG),
INTENT(OUT) :: ERR
1413 local_string=first_string//
logical_to_vstring(first_value,err,error)//second_string//second_value
1420 999 errorsexits(
"WRITE_STRING_TWO_VALUE_L_VS",err,error)
1433 INTEGER(INTG),
INTENT(IN) :: ID
1434 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1435 REAL(SP),
INTENT(IN) :: FIRST_VALUE
1436 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1437 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_VALUE
1438 INTEGER(INTG),
INTENT(OUT) :: ERR
1445 local_string=first_string//
number_to_vstring(first_value,
"*",err,error)//second_string//second_value
1452 999 errorsexits(
"WRITE_STRING_TWO_VALUE_SP_C",err,error)
1465 INTEGER(INTG),
INTENT(IN) :: ID
1466 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1467 REAL(SP),
INTENT(IN) :: FIRST_VALUE
1468 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1469 REAL(DP),
INTENT(IN) :: SECOND_VALUE
1470 INTEGER(INTG),
INTENT(OUT) :: ERR
1480 local_string2=local_string//second_string
1488 999 errorsexits(
"WRITE_STRING_TWO_VALUE_SP_DP",err,error)
1501 INTEGER(INTG),
INTENT(IN) :: ID
1502 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1503 REAL(SP),
INTENT(IN) :: FIRST_VALUE
1504 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1505 INTEGER(INTG),
INTENT(IN) :: SECOND_VALUE
1506 INTEGER(INTG),
INTENT(OUT) :: ERR
1516 local_string2=local_string//second_string
1524 999 errorsexits(
"WRITE_STRING_TWO_VALUE_SP_INTG",err,error)
1537 INTEGER(INTG),
INTENT(IN) :: ID
1538 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1539 REAL(SP),
INTENT(IN) :: FIRST_VALUE
1540 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1541 LOGICAL,
INTENT(IN) :: SECOND_VALUE
1542 INTEGER(INTG),
INTENT(OUT) :: ERR
1557 999 errorsexits(
"WRITE_STRING_TWO_VALUE_SP_L",err,error)
1570 INTEGER(INTG),
INTENT(IN) :: ID
1571 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1572 REAL(SP),
INTENT(IN) :: FIRST_VALUE
1573 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1574 REAL(SP),
INTENT(IN) :: SECOND_VALUE
1575 INTEGER(INTG),
INTENT(OUT) :: ERR
1585 local_string2=local_string//second_string
1593 999 errorsexits(
"WRITE_STRING_TWO_VALUE_SP_SP",err,error)
1606 INTEGER(INTG),
INTENT(IN) :: ID
1607 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1608 REAL(SP),
INTENT(IN) :: FIRST_VALUE
1609 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1611 INTEGER(INTG),
INTENT(OUT) :: ERR
1618 local_string=first_string//
number_to_vstring(first_value,
"*",err,error)//second_string//second_value
1625 999 errorsexits(
"WRITE_STRING_TWO_VALUE_SP_VS",err,error)
1638 INTEGER(INTG),
INTENT(IN) :: ID
1639 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1641 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1642 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_VALUE
1643 INTEGER(INTG),
INTENT(OUT) :: ERR
1650 local_string=first_string//first_value//second_string//second_value
1656 999 errorsexits(
"WRITE_STRING_TWO_VALUE_VS_C",err,error)
1669 INTEGER(INTG),
INTENT(IN) :: ID
1670 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1672 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1673 REAL(DP),
INTENT(IN) :: SECOND_VALUE
1674 INTEGER(INTG),
INTENT(OUT) :: ERR
1681 local_string=first_string//first_value//second_string//
number_to_vstring(second_value,
"*",err,error)
1688 999 errorsexits(
"WRITE_STRING_TWO_VALUE_VS_DP",err,error)
1701 INTEGER(INTG),
INTENT(IN) :: ID
1702 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1704 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1705 INTEGER(INTG),
INTENT(IN) :: SECOND_VALUE
1706 INTEGER(INTG),
INTENT(OUT) :: ERR
1713 local_string=first_string//first_value//second_string//
number_to_vstring(second_value,
"*",err,error)
1720 999 errorsexits(
"WRITE_STRING_TWO_VALUE_VS_INTG",err,error)
1733 INTEGER(INTG),
INTENT(IN) :: ID
1734 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1736 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1737 LOGICAL,
INTENT(IN) :: SECOND_VALUE
1738 INTEGER(INTG),
INTENT(OUT) :: ERR
1745 local_string=first_string//first_value//second_string//
logical_to_vstring(second_value,err,error)
1751 999 errorsexits(
"WRITE_STRING_TWO_VALUE_VS_L",err,error)
1764 INTEGER(INTG),
INTENT(IN) :: ID
1765 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1767 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1768 REAL(SP),
INTENT(IN) :: SECOND_VALUE
1769 INTEGER(INTG),
INTENT(OUT) :: ERR
1776 local_string=first_string//first_value//second_string//
number_to_vstring(second_value,
"*",err,error)
1783 999 errorsexits(
"WRITE_STRING_TWO_VALUE_VS_SP",err,error)
1796 INTEGER(INTG),
INTENT(IN) :: ID
1797 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1799 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
1801 INTEGER(INTG),
INTENT(OUT) :: ERR
1808 local_string=first_string//first_value//second_string//second_value
1814 999 errorsexits(
"WRITE_STRING_TWO_VALUE_VS_VS",err,error)
1827 INTEGER(INTG),
INTENT(IN) :: ID
1828 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1829 CHARACTER(LEN=*),
INTENT(IN) ::
VALUE 1830 CHARACTER(LEN=*),
INTENT(IN) :: FORMAT_STRING
1831 INTEGER(INTG),
INTENT(OUT) :: ERR
1838 local_string=first_string(1:
len_trim(first_string))//value(1:
len_trim(
VALUE))
1844 999 errorsexits(
"WRITE_STRING_FMT_VALUE_C",err,error)
1857 INTEGER(INTG),
INTENT(IN) :: ID
1858 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1859 REAL(DP),
INTENT(IN) ::
VALUE 1860 CHARACTER(LEN=*),
INTENT(IN) :: FORMAT_STRING
1861 INTEGER(INTG),
INTENT(OUT) :: ERR
1875 999 errorsexits(
"WRITE_STRING_FMT_VALUE_DP",err,error)
1888 INTEGER(INTG),
INTENT(IN) :: ID
1889 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1890 INTEGER(INTG),
INTENT(IN) ::
VALUE 1891 CHARACTER(LEN=*),
INTENT(IN) :: FORMAT_STRING
1892 INTEGER(INTG),
INTENT(OUT) :: ERR
1905 999 errorsexits(
"WRITE_STRING_FMT_VALUE_INTG",err,error)
1918 INTEGER(INTG),
INTENT(IN) :: ID
1919 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1920 INTEGER(LINTG),
INTENT(IN) ::
VALUE 1921 CHARACTER(LEN=*),
INTENT(IN) :: FORMAT_STRING
1922 INTEGER(INTG),
INTENT(OUT) :: ERR
1935 999 errorsexits(
"WRITE_STRING_FMT_VALUE_LINTG",err,error)
1948 INTEGER(INTG),
INTENT(IN) :: ID
1949 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1950 LOGICAL,
INTENT(IN) ::
VALUE 1951 CHARACTER(LEN=*),
INTENT(IN) :: FORMAT_STRING
1952 INTEGER(INTG),
INTENT(OUT) :: ERR
1965 999 errorsexits(
"WRITE_STRING_FMT_VALUE_L",err,error)
1978 INTEGER(INTG),
INTENT(IN) :: ID
1979 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
1980 REAL(SP),
INTENT(IN) ::
VALUE 1981 CHARACTER(LEN=*),
INTENT(IN) :: FORMAT_STRING
1982 INTEGER(INTG),
INTENT(OUT) :: ERR
1996 999 errorsexits(
"WRITE_STRING_FMT_VALUE_SP",err,error)
2009 INTEGER(INTG),
INTENT(IN) :: ID
2010 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2012 CHARACTER(LEN=*),
INTENT(IN) :: FORMAT_STRING
2013 INTEGER(INTG),
INTENT(OUT) :: ERR
2020 local_string=first_string//
VALUE 2026 999 errorsexits(
"WRITE_STRING_FMT_VALUE_VS",err,error)
2040 INTEGER(INTG),
INTENT(IN) :: ID
2041 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2042 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_VALUE
2043 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2044 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2045 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_VALUE
2046 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2047 INTEGER(INTG),
INTENT(OUT) :: ERR
2054 local_string=first_string//first_value//second_string//second_value
2060 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_C_C",err,error)
2074 INTEGER(INTG),
INTENT(IN) :: ID
2075 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2076 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_VALUE
2077 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2078 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2079 REAL(DP),
INTENT(IN) :: SECOND_VALUE
2080 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2081 INTEGER(INTG),
INTENT(OUT) :: ERR
2088 local_string=first_string//first_value//second_string//
number_to_vstring(second_value,second_format,err,error)
2095 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_C_DP",err,error)
2109 INTEGER(INTG),
INTENT(IN) :: ID
2110 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2111 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_VALUE
2112 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2113 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2114 INTEGER(INTG),
INTENT(IN) :: SECOND_VALUE
2115 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2116 INTEGER(INTG),
INTENT(OUT) :: ERR
2123 local_string=first_string//first_value//second_string//
number_to_vstring(second_value,second_format,err,error)
2130 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_C_INTG",err,error)
2144 INTEGER(INTG),
INTENT(IN) :: ID
2145 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2146 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_VALUE
2147 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2148 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2149 LOGICAL,
INTENT(IN) :: SECOND_VALUE
2150 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2151 INTEGER(INTG),
INTENT(OUT) :: ERR
2158 local_string=first_string//first_value//second_string//
logical_to_vstring(second_value,err,error)
2164 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_C_L",err,error)
2178 INTEGER(INTG),
INTENT(IN) :: ID
2179 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2180 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_VALUE
2181 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2182 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2183 REAL(SP),
INTENT(IN) :: SECOND_VALUE
2184 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2185 INTEGER(INTG),
INTENT(OUT) :: ERR
2192 local_string=first_string//first_value//second_string//
number_to_vstring(second_value,second_format,err,error)
2199 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_C_SP",err,error)
2213 INTEGER(INTG),
INTENT(IN) :: ID
2214 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2215 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_VALUE
2216 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2217 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2219 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2220 INTEGER(INTG),
INTENT(OUT) :: ERR
2227 local_string=first_string//first_value//second_string//second_value
2233 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_C_VS",err,error)
2247 INTEGER(INTG),
INTENT(IN) :: ID
2248 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2249 REAL(DP),
INTENT(IN) :: FIRST_VALUE
2250 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2251 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2252 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_VALUE
2253 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2254 INTEGER(INTG),
INTENT(OUT) :: ERR
2261 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)//second_string//second_value
2268 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_DP_C",err,error)
2282 INTEGER(INTG),
INTENT(IN) :: ID
2283 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2284 REAL(DP),
INTENT(IN) :: FIRST_VALUE
2285 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2286 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2287 REAL(DP),
INTENT(IN) :: SECOND_VALUE
2288 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2289 INTEGER(INTG),
INTENT(OUT) :: ERR
2296 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)
2299 local_string2=local_string//second_string
2300 local_string=local_string2//
number_to_vstring(second_value,second_format,err,error)
2307 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_DP_DP",err,error)
2318 & second_format,err,error,*)
2321 INTEGER(INTG),
INTENT(IN) :: ID
2322 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2323 REAL(DP),
INTENT(IN) :: FIRST_VALUE
2324 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2325 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2326 INTEGER(INTG),
INTENT(IN) :: SECOND_VALUE
2327 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2328 INTEGER(INTG),
INTENT(OUT) :: ERR
2335 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)
2338 local_string2=local_string//second_string
2339 local_string=local_string2//
number_to_vstring(second_value,second_format,err,error)
2346 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_DP_INTG",err,error)
2360 INTEGER(INTG),
INTENT(IN) :: ID
2361 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2362 REAL(DP),
INTENT(IN) :: FIRST_VALUE
2363 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2364 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2365 LOGICAL,
INTENT(IN) :: SECOND_VALUE
2366 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2367 INTEGER(INTG),
INTENT(OUT) :: ERR
2374 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)
2377 local_string2=local_string//second_string
2384 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_DP_L",err,error)
2398 INTEGER(INTG),
INTENT(IN) :: ID
2399 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2400 REAL(DP),
INTENT(IN) :: FIRST_VALUE
2401 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2402 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2403 REAL(SP),
INTENT(IN) :: SECOND_VALUE
2404 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2405 INTEGER(INTG),
INTENT(OUT) :: ERR
2412 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)
2415 local_string2=local_string//second_string
2416 local_string=local_string2//
number_to_vstring(second_value,second_format,err,error)
2423 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_DP_SP",err,error)
2437 INTEGER(INTG),
INTENT(IN) :: ID
2438 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2439 REAL(DP),
INTENT(IN) :: FIRST_VALUE
2440 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2441 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2443 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2444 INTEGER(INTG),
INTENT(OUT) :: ERR
2451 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)//second_string//second_value
2458 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_DP_VS",err,error)
2472 INTEGER(INTG),
INTENT(IN) :: ID
2473 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2474 INTEGER(INTG),
INTENT(IN) :: FIRST_VALUE
2475 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2476 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2477 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_VALUE
2478 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2479 INTEGER(INTG),
INTENT(OUT) :: ERR
2486 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)//second_string//second_value
2493 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_INTG_C",err,error)
2504 & second_format,err,error,*)
2507 INTEGER(INTG),
INTENT(IN) :: ID
2508 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2509 INTEGER(INTG),
INTENT(IN) :: FIRST_VALUE
2510 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2511 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2512 REAL(DP),
INTENT(IN) :: SECOND_VALUE
2513 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2514 INTEGER(INTG),
INTENT(OUT) :: ERR
2521 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)
2524 local_string2=local_string//second_string
2525 local_string=local_string2//
number_to_vstring(second_value,second_format,err,error)
2532 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_INTG_DP",err,error)
2543 & second_format,err,error,*)
2546 INTEGER(INTG),
INTENT(IN) :: ID
2547 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2548 INTEGER(INTG),
INTENT(IN) :: FIRST_VALUE
2549 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2550 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2551 INTEGER(INTG),
INTENT(IN) :: SECOND_VALUE
2552 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2553 INTEGER(INTG),
INTENT(OUT) :: ERR
2560 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)
2563 local_string2=local_string//second_string
2564 local_string=local_string2//
number_to_vstring(second_value,second_format,err,error)
2571 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_INTG_INTG",err,error)
2585 INTEGER(INTG),
INTENT(IN) :: ID
2586 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2587 INTEGER(INTG),
INTENT(IN) :: FIRST_VALUE
2588 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2589 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2590 LOGICAL,
INTENT(IN) :: SECOND_VALUE
2591 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2592 INTEGER(INTG),
INTENT(OUT) :: ERR
2599 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)
2602 local_string2=local_string//second_string
2609 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_INTG_L",err,error)
2620 & second_format,err,error,*)
2623 INTEGER(INTG),
INTENT(IN) :: ID
2624 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2625 INTEGER(INTG),
INTENT(IN) :: FIRST_VALUE
2626 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2627 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2628 REAL(SP),
INTENT(IN) :: SECOND_VALUE
2629 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2630 INTEGER(INTG),
INTENT(OUT) :: ERR
2637 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)
2640 local_string2=local_string//second_string
2641 local_string=local_string2//
number_to_vstring(second_value,second_format,err,error)
2648 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_INTG_SP",err,error)
2659 & second_format,err,error,*)
2662 INTEGER(INTG),
INTENT(IN) :: ID
2663 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2664 INTEGER(INTG),
INTENT(IN) :: FIRST_VALUE
2665 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2666 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2668 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2669 INTEGER(INTG),
INTENT(OUT) :: ERR
2676 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)//second_string//second_value
2683 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_INTG_VS",err,error)
2697 INTEGER(INTG),
INTENT(IN) :: ID
2698 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2699 LOGICAL,
INTENT(IN) :: FIRST_VALUE
2700 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2701 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2702 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_VALUE
2703 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2704 INTEGER(INTG),
INTENT(OUT) :: ERR
2711 local_string=first_string//
logical_to_vstring(first_value,err,error)//second_string//second_value
2718 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_L_C",err,error)
2732 INTEGER(INTG),
INTENT(IN) :: ID
2733 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2734 LOGICAL,
INTENT(IN) :: FIRST_VALUE
2735 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2736 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2737 REAL(DP),
INTENT(IN) :: SECOND_VALUE
2738 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2739 INTEGER(INTG),
INTENT(OUT) :: ERR
2749 local_string2=local_string//second_string
2750 local_string=local_string2//
number_to_vstring(second_value,second_format,err,error)
2757 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_L_DP",err,error)
2771 INTEGER(INTG),
INTENT(IN) :: ID
2772 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2773 LOGICAL,
INTENT(IN) :: FIRST_VALUE
2774 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2775 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2776 INTEGER(INTG),
INTENT(IN) :: SECOND_VALUE
2777 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2778 INTEGER(INTG),
INTENT(OUT) :: ERR
2787 local_string=local_string//second_string//
number_to_vstring(second_value,second_format,err,error)
2794 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_L_INTG",err,error)
2808 INTEGER(INTG),
INTENT(IN) :: ID
2809 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2810 LOGICAL,
INTENT(IN) :: FIRST_VALUE
2811 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2812 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2813 LOGICAL,
INTENT(IN) :: SECOND_VALUE
2814 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2815 INTEGER(INTG),
INTENT(OUT) :: ERR
2825 local_string2=local_string//second_string
2832 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_L_L",err,error)
2846 INTEGER(INTG),
INTENT(IN) :: ID
2847 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2848 LOGICAL,
INTENT(IN) :: FIRST_VALUE
2849 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2850 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2851 REAL(SP),
INTENT(IN) :: SECOND_VALUE
2852 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2853 INTEGER(INTG),
INTENT(OUT) :: ERR
2862 local_string=local_string//second_string//
number_to_vstring(second_value,second_format,err,error)
2869 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_L_SP",err,error)
2883 INTEGER(INTG),
INTENT(IN) :: ID
2884 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2885 LOGICAL,
INTENT(IN) :: FIRST_VALUE
2886 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2887 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2889 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2890 INTEGER(INTG),
INTENT(OUT) :: ERR
2897 local_string=first_string//
logical_to_vstring(first_value,err,error)//second_string//second_value
2904 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_L_VS",err,error)
2918 INTEGER(INTG),
INTENT(IN) :: ID
2919 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2920 REAL(SP),
INTENT(IN) :: FIRST_VALUE
2921 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2922 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2923 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_VALUE
2924 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2925 INTEGER(INTG),
INTENT(OUT) :: ERR
2932 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)//second_string//second_value
2939 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_SP_C",err,error)
2953 INTEGER(INTG),
INTENT(IN) :: ID
2954 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2955 REAL(SP),
INTENT(IN) :: FIRST_VALUE
2956 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2957 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2958 REAL(DP),
INTENT(IN) :: SECOND_VALUE
2959 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2960 INTEGER(INTG),
INTENT(OUT) :: ERR
2967 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)
2970 local_string2=local_string//second_string
2971 local_string=local_string2//
number_to_vstring(second_value,second_format,err,error)
2978 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_SP_DP",err,error)
2989 & second_format,err,error,*)
2992 INTEGER(INTG),
INTENT(IN) :: ID
2993 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
2994 REAL(SP),
INTENT(IN) :: FIRST_VALUE
2995 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
2996 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
2997 INTEGER(INTG),
INTENT(IN) :: SECOND_VALUE
2998 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
2999 INTEGER(INTG),
INTENT(OUT) :: ERR
3006 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)
3009 local_string2=local_string//second_string
3010 local_string=local_string2//
number_to_vstring(second_value,second_format,err,error)
3017 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_SP_INTG",err,error)
3031 INTEGER(INTG),
INTENT(IN) :: ID
3032 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
3033 REAL(SP),
INTENT(IN) :: FIRST_VALUE
3034 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3035 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
3036 LOGICAL,
INTENT(IN) :: SECOND_VALUE
3037 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
3038 INTEGER(INTG),
INTENT(OUT) :: ERR
3045 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)
3053 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_SP_L",err,error)
3067 INTEGER(INTG),
INTENT(IN) :: ID
3068 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
3069 REAL(SP),
INTENT(IN) :: FIRST_VALUE
3070 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3071 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
3072 REAL(SP),
INTENT(IN) :: SECOND_VALUE
3073 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
3074 INTEGER(INTG),
INTENT(OUT) :: ERR
3081 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)
3084 local_string2=local_string//second_string
3085 local_string=local_string2//
number_to_vstring(second_value,second_format,err,error)
3092 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_SP_SP",err,error)
3106 INTEGER(INTG),
INTENT(IN) :: ID
3107 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
3108 REAL(SP),
INTENT(IN) :: FIRST_VALUE
3109 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3110 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
3112 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
3113 INTEGER(INTG),
INTENT(OUT) :: ERR
3120 local_string=first_string//
number_to_vstring(first_value,first_format,err,error)//second_string//second_value
3127 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_SP_VS",err,error)
3141 INTEGER(INTG),
INTENT(IN) :: ID
3142 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
3144 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3145 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
3146 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_VALUE
3147 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
3148 INTEGER(INTG),
INTENT(OUT) :: ERR
3155 local_string=first_string//first_value//second_string//second_value
3161 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_VS_C",err,error)
3175 INTEGER(INTG),
INTENT(IN) :: ID
3176 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
3178 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3179 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
3180 REAL(DP),
INTENT(IN) :: SECOND_VALUE
3181 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
3182 INTEGER(INTG),
INTENT(OUT) :: ERR
3189 local_string=first_string//first_value//second_string//
number_to_vstring(second_value,second_format,err,error)
3196 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_VS_DP",err,error)
3207 & second_format,err,error,*)
3210 INTEGER(INTG),
INTENT(IN) :: ID
3211 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
3213 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3214 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
3215 INTEGER(INTG),
INTENT(IN) :: SECOND_VALUE
3216 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
3217 INTEGER(INTG),
INTENT(OUT) :: ERR
3224 local_string=first_string//first_value//second_string//
number_to_vstring(second_value,second_format,err,error)
3231 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_VS_INTG",err,error)
3245 INTEGER(INTG),
INTENT(IN) :: ID
3246 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
3248 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3249 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
3250 LOGICAL,
INTENT(IN) :: SECOND_VALUE
3251 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
3252 INTEGER(INTG),
INTENT(OUT) :: ERR
3259 local_string=first_string//first_value//second_string//
logical_to_vstring(second_value,err,error)
3265 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_VS_L",err,error)
3279 INTEGER(INTG),
INTENT(IN) :: ID
3280 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
3282 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3283 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
3284 REAL(SP),
INTENT(IN) :: SECOND_VALUE
3285 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
3286 INTEGER(INTG),
INTENT(OUT) :: ERR
3293 local_string=first_string//first_value//second_string//
number_to_vstring(second_value,second_format,err,error)
3300 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_VS_SP",err,error)
3314 INTEGER(INTG),
INTENT(IN) :: ID
3315 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_STRING
3317 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3318 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_STRING
3320 CHARACTER(LEN=*),
INTENT(IN) :: SECOND_FORMAT
3321 INTEGER(INTG),
INTENT(OUT) :: ERR
3328 local_string=first_string//first_value//second_string//second_value
3334 999 errorsexits(
"WRITE_STRING_FMT_TWO_VALUE_VS_VS",err,error)
3344 SUBROUTINE write_string_vector_dp(ID,FIRST_IDX,DELTA,LAST_IDX,NUMBER_FIRST,NUMBER_REPEAT,VECTOR,FIRST_FORMAT,REPEAT_FORMAT, &
3348 INTEGER(INTG),
INTENT(IN) :: ID
3349 INTEGER(INTG),
INTENT(IN) :: FIRST_IDX
3350 INTEGER(INTG),
INTENT(IN) :: DELTA
3351 INTEGER(INTG),
INTENT(IN) :: LAST_IDX
3352 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3353 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3354 REAL(DP),
INTENT(IN) :: VECTOR(:)
3355 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3356 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3357 INTEGER(INTG),
INTENT(OUT) :: ERR
3360 INTEGER(INTG) :: current,final,count
3365 final=current+(number_first-1)*delta
3366 IF(final>last_idx) final=last_idx
3368 WRITE(
op_string,fmt=first_format) (vector(count),count=current,final,delta)
3370 DO WHILE(final<last_idx)
3372 final=final+number_repeat*delta
3373 IF(final>last_idx) final=last_idx
3374 WRITE(
op_string,fmt=repeat_format) (vector(count),count=current,final,delta)
3380 999 errorsexits(
"WRITE_STRING_VECTOR_DP",err,error)
3390 SUBROUTINE write_string_vector_intg(ID,FIRST_IDX,DELTA,LAST_IDX,NUMBER_FIRST,NUMBER_REPEAT,VECTOR,FIRST_FORMAT,REPEAT_FORMAT, &
3394 INTEGER(INTG),
INTENT(IN) :: ID
3395 INTEGER(INTG),
INTENT(IN) :: FIRST_IDX
3396 INTEGER(INTG),
INTENT(IN) :: DELTA
3397 INTEGER(INTG),
INTENT(IN) :: LAST_IDX
3398 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3399 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3400 INTEGER(INTG),
INTENT(IN) :: VECTOR(:)
3401 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3402 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3403 INTEGER(INTG),
INTENT(OUT) :: ERR
3406 INTEGER(INTG) :: current,final,count
3411 final=current+(number_first-1)*delta
3412 IF(final>last_idx) final=last_idx
3413 WRITE(
op_string,fmt=first_format) (vector(count),count=current,final,delta)
3415 DO WHILE(final<last_idx)
3417 final=final+number_repeat*delta
3418 IF(final>last_idx) final=last_idx
3419 WRITE(
op_string,fmt=repeat_format) (vector(count),count=current,final,delta)
3425 999 errorsexits(
"WRITE_STRING_VECTOR_INTG",err,error)
3435 SUBROUTINE write_string_vector_lintg(ID,FIRST_IDX,DELTA,LAST_IDX,NUMBER_FIRST,NUMBER_REPEAT,VECTOR,FIRST_FORMAT,REPEAT_FORMAT, &
3439 INTEGER(INTG),
INTENT(IN) :: ID
3440 INTEGER(INTG),
INTENT(IN) :: FIRST_IDX
3441 INTEGER(INTG),
INTENT(IN) :: DELTA
3442 INTEGER(INTG),
INTENT(IN) :: LAST_IDX
3443 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3444 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3445 INTEGER(LINTG),
INTENT(IN) :: VECTOR(:)
3446 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3447 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3448 INTEGER(INTG),
INTENT(OUT) :: ERR
3451 INTEGER(INTG) :: current,final,count
3456 final=current+(number_first-1)*delta
3457 IF(final>last_idx) final=last_idx
3458 WRITE(
op_string,fmt=first_format) (vector(count),count=current,final,delta)
3460 DO WHILE(final<last_idx)
3462 final=final+number_repeat*delta
3463 IF(final>last_idx) final=last_idx
3464 WRITE(
op_string,fmt=repeat_format) (vector(count),count=current,final,delta)
3470 999 errorsexits(
"WRITE_STRING_VECTOR_LINTG",err,error)
3480 SUBROUTINE write_string_vector_l(ID,FIRST_IDX,DELTA,LAST_IDX,NUMBER_FIRST,NUMBER_REPEAT,VECTOR,FIRST_FORMAT,REPEAT_FORMAT, &
3484 INTEGER(INTG),
INTENT(IN) :: ID
3485 INTEGER(INTG),
INTENT(IN) :: FIRST_IDX
3486 INTEGER(INTG),
INTENT(IN) :: DELTA
3487 INTEGER(INTG),
INTENT(IN) :: LAST_IDX
3488 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3489 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3490 LOGICAL,
INTENT(IN) :: VECTOR(:)
3491 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3492 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3493 INTEGER(INTG),
INTENT(OUT) :: ERR
3496 INTEGER(INTG) :: current,final,count
3501 final=current+(number_first-1)*delta
3502 IF(final>last_idx) final=last_idx
3503 WRITE(
op_string,fmt=first_format) (vector(count),count=current,final,delta)
3505 DO WHILE(final<last_idx)
3507 final=final+number_repeat*delta
3508 IF(final>last_idx) final=last_idx
3509 WRITE(
op_string,fmt=repeat_format) (vector(count),count=current,final,delta)
3515 999 errorsexits(
"WRITE_STRING_VECTOR_L",err,error)
3525 SUBROUTINE write_string_vector_sp(ID,FIRST_IDX,DELTA,LAST_IDX,NUMBER_FIRST,NUMBER_REPEAT,VECTOR,FIRST_FORMAT,REPEAT_FORMAT, &
3529 INTEGER(INTG),
INTENT(IN) :: ID
3530 INTEGER(INTG),
INTENT(IN) :: FIRST_IDX
3531 INTEGER(INTG),
INTENT(IN) :: DELTA
3532 INTEGER(INTG),
INTENT(IN) :: LAST_IDX
3533 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3534 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3535 REAL(SP),
INTENT(IN) :: VECTOR(:)
3536 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3537 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3538 INTEGER(INTG),
INTENT(OUT) :: ERR
3541 INTEGER(INTG) :: current,final,count
3546 final=current+(number_first-1)*delta
3547 IF(final>last_idx) final=last_idx
3548 WRITE(
op_string,fmt=first_format) (vector(count),count=current,final,delta)
3550 DO WHILE(final<last_idx)
3552 final=final+number_repeat*delta
3553 IF(final>last_idx) final=last_idx
3554 WRITE(
op_string,fmt=repeat_format) (vector(count),count=current,final,delta)
3560 999 errorsexits(
"WRITE_STRING_VECTOR_SP",err,error)
3571 & repeat_format,err,error,*)
3574 INTEGER(INTG),
INTENT(IN) :: ID
3575 INTEGER(INTG),
INTENT(IN) :: NUM_INDICES
3576 INTEGER(INTG),
INTENT(IN) :: INDICES(num_indices)
3577 INTEGER(INTG),
INTENT(IN) :: DELTA
3578 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3579 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3580 REAL(DP),
INTENT(IN) :: VECTOR(:)
3581 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3582 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3583 INTEGER(INTG),
INTENT(OUT) :: ERR
3586 INTEGER(INTG) :: current,count,number_to_do
3590 number_to_do=num_indices
3591 WRITE(
op_string,fmt=first_format) (vector((indices(count)-1)*delta+1),count=1,min(number_first,num_indices))
3593 number_to_do=num_indices-number_first
3594 current=number_first+1
3595 DO WHILE(number_to_do>0)
3596 WRITE(
op_string,fmt=repeat_format) (vector((indices(count)-1)*delta+1),count=current,min(current+number_repeat-1, &
3599 current=current+number_repeat
3600 number_to_do=number_to_do-number_repeat
3605 999 errorsexits(
"WRITE_STRING_IDX_VECTOR_DP",err,error)
3616 & repeat_format,err,error,*)
3619 INTEGER(INTG),
INTENT(IN) :: ID
3620 INTEGER(INTG),
INTENT(IN) :: NUM_INDICES
3621 INTEGER(INTG),
INTENT(IN) :: INDICES(num_indices)
3622 INTEGER(INTG),
INTENT(IN) :: DELTA
3623 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3624 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3625 INTEGER(INTG),
INTENT(IN) :: VECTOR(:)
3626 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3627 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3628 INTEGER(INTG),
INTENT(OUT) :: ERR
3631 INTEGER(INTG) :: current,count,number_to_do
3635 number_to_do=num_indices
3636 WRITE(
op_string,fmt=first_format) (vector((indices(count)-1)*delta+1),count=1,min(number_first,num_indices))
3638 number_to_do=num_indices-number_first
3639 current=number_first+1
3640 DO WHILE(number_to_do>0)
3641 WRITE(
op_string,fmt=repeat_format) (vector((indices(count)-1)*delta+1),count=current,min(current+number_repeat-1, &
3644 current=current+number_repeat
3645 number_to_do=number_to_do-number_repeat
3650 999 errorsexits(
"WRITE_STRING_IDX_VECTOR_INTG",err,error)
3661 & repeat_format,err,error,*)
3669 INTEGER(INTG),
INTENT(IN) :: ID
3670 INTEGER(INTG),
INTENT(IN) :: NUM_INDICES
3671 INTEGER(INTG),
INTENT(IN) :: INDICES(num_indices)
3672 INTEGER(INTG),
INTENT(IN) :: DELTA
3673 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3674 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3675 INTEGER(LINTG),
INTENT(IN) :: VECTOR(:)
3676 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3677 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3678 INTEGER(INTG),
INTENT(OUT) :: ERR
3681 INTEGER(INTG) :: current,count,number_to_do
3685 number_to_do=num_indices
3686 WRITE(
op_string,fmt=first_format) (vector((indices(count)-1)*delta+1),count=1,min(number_first,num_indices))
3688 number_to_do=num_indices-number_first
3689 current=number_first+1
3690 DO WHILE(number_to_do>0)
3691 WRITE(
op_string,fmt=repeat_format) (vector((indices(count)-1)*delta+1),count=current,min(current+number_repeat-1, &
3694 current=current+number_repeat
3695 number_to_do=number_to_do-number_repeat
3700 999 errorsexits(
"WRITE_STRING_IDX_VECTOR_LINTG",err,error)
3711 & repeat_format,err,error,*)
3714 INTEGER(INTG),
INTENT(IN) :: ID
3715 INTEGER(INTG),
INTENT(IN) :: NUM_INDICES
3716 INTEGER(INTG),
INTENT(IN) :: INDICES(num_indices)
3717 INTEGER(INTG),
INTENT(IN) :: DELTA
3718 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3719 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3720 LOGICAL,
INTENT(IN) :: VECTOR(:)
3721 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3722 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3723 INTEGER(INTG),
INTENT(OUT) :: ERR
3726 INTEGER(INTG) :: current,count,number_to_do
3730 number_to_do=num_indices
3731 WRITE(
op_string,fmt=first_format) (vector((indices(count)-1)*delta+1),count=1,min(number_first,num_indices))
3733 number_to_do=num_indices-number_first
3734 current=number_first+1
3735 DO WHILE(number_to_do>0)
3736 WRITE(
op_string,fmt=repeat_format) (vector((indices(count)-1)*delta+1),count=current,min(current+number_repeat-1, &
3739 current=current+number_repeat
3740 number_to_do=number_to_do-number_repeat
3745 999 errorsexits(
"WRITE_STRING_IDX_VECTOR_L",err,error)
3756 & repeat_format,err,error,*)
3759 INTEGER(INTG),
INTENT(IN) :: ID
3760 INTEGER(INTG),
INTENT(IN) :: NUM_INDICES
3761 INTEGER(INTG),
INTENT(IN) :: INDICES(num_indices)
3762 INTEGER(INTG),
INTENT(IN) :: DELTA
3763 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3764 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3765 REAL(SP),
INTENT(IN) :: VECTOR(:)
3766 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3767 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3768 INTEGER(INTG),
INTENT(OUT) :: ERR
3771 INTEGER(INTG) :: current,count,number_to_do
3775 number_to_do=num_indices
3776 WRITE(
op_string,fmt=first_format) (vector((indices(count)-1)*delta+1),count=1,min(number_first,num_indices))
3778 number_to_do=num_indices-number_first
3779 current=number_first+1
3780 DO WHILE(number_to_do>0)
3781 WRITE(
op_string,fmt=repeat_format) (vector((indices(count)-1)*delta+1),count=current,min(current+number_repeat-1, &
3784 current=current+number_repeat
3785 number_to_do=number_to_do-number_repeat
3790 999 errorsexits(
"WRITE_STRING_IDX_VECTOR_SP",err,error)
3800 SUBROUTINE write_string_matrix_dp(ID,FIRST_ROW,DELTA_ROW,LAST_ROW,FIRST_COLUMN,DELTA_COLUMN,LAST_COLUMN,NUMBER_FIRST, &
3801 & number_repeat,matrix,index_format_type,matrix_name_format,row_index_format,first_format,repeat_format,err,error,*)
3804 INTEGER(INTG),
INTENT(IN) :: ID
3805 INTEGER(INTG),
INTENT(IN) :: FIRST_ROW
3806 INTEGER(INTG),
INTENT(IN) :: DELTA_ROW
3807 INTEGER(INTG),
INTENT(IN) :: LAST_ROW
3808 INTEGER(INTG),
INTENT(IN) :: FIRST_COLUMN
3809 INTEGER(INTG),
INTENT(IN) :: DELTA_COLUMN
3810 INTEGER(INTG),
INTENT(IN) :: LAST_COLUMN
3811 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3812 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3813 REAL(DP),
INTENT(IN) :: MATRIX(:,:)
3814 INTEGER(INTG),
INTENT(IN) :: INDEX_FORMAT_TYPE
3815 CHARACTER(LEN=*),
INTENT(IN) :: MATRIX_NAME_FORMAT
3816 CHARACTER(LEN=*),
INTENT(IN) :: ROW_INDEX_FORMAT
3817 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3818 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3819 INTEGER(INTG),
INTENT(OUT) :: ERR
3822 INTEGER(INTG) :: current_row,current_column,final_column,count
3823 CHARACTER(LEN=MAXSTRLEN) :: FORMAT_STR
3828 format_str=matrix_name_format//first_format
3830 format_str=matrix_name_format//row_index_format//first_format
3832 CALL flagerror(
"Invalid index format type",err,error,*999)
3834 DO current_row=first_row,last_row,delta_row
3835 current_column=first_column
3836 final_column=current_column+(number_first-1)*delta_column
3837 IF(final_column>last_column) final_column=last_column
3839 WRITE(
op_string,fmt=format_str) (matrix(current_row,count),count=current_column,final_column,delta_column)
3841 WRITE(
op_string,fmt=format_str) current_row,(matrix(current_row,count),count=current_column,final_column,delta_column)
3844 DO WHILE(final_column<last_column)
3845 current_column=final_column+delta_column
3846 final_column=final_column+number_repeat*delta_column
3847 IF(final_column>last_column) final_column=last_column
3848 WRITE(
op_string,fmt=repeat_format) (matrix(current_row,count),count=current_column,final_column,delta_column)
3855 999 errorsexits(
"WRITE_STRING_MATRIX_DP",err,error)
3865 SUBROUTINE write_string_matrix_intg(ID,FIRST_ROW,DELTA_ROW,LAST_ROW,FIRST_COLUMN,DELTA_COLUMN,LAST_COLUMN,NUMBER_FIRST, &
3866 & number_repeat,matrix,index_format_type,matrix_name_format,row_index_format,first_format,repeat_format,err,error,*)
3874 INTEGER(INTG),
INTENT(IN) :: ID
3875 INTEGER(INTG),
INTENT(IN) :: FIRST_ROW
3876 INTEGER(INTG),
INTENT(IN) :: DELTA_ROW
3877 INTEGER(INTG),
INTENT(IN) :: LAST_ROW
3878 INTEGER(INTG),
INTENT(IN) :: FIRST_COLUMN
3879 INTEGER(INTG),
INTENT(IN) :: DELTA_COLUMN
3880 INTEGER(INTG),
INTENT(IN) :: LAST_COLUMN
3881 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3882 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3883 INTEGER(INTG),
INTENT(IN) :: MATRIX(:,:)
3884 INTEGER(INTG),
INTENT(IN) :: INDEX_FORMAT_TYPE
3885 CHARACTER(LEN=*),
INTENT(IN) :: MATRIX_NAME_FORMAT
3886 CHARACTER(LEN=*),
INTENT(IN) :: ROW_INDEX_FORMAT
3887 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3888 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3889 INTEGER(INTG),
INTENT(OUT) :: ERR
3892 INTEGER(INTG) :: current_row,current_column,final_column,count
3893 CHARACTER(LEN=MAXSTRLEN) :: FORMAT_STR
3898 format_str=matrix_name_format//first_format
3900 format_str=matrix_name_format//row_index_format//first_format
3902 CALL flagerror(
"Invalid index format type",err,error,*999)
3904 DO current_row=first_row,last_row,delta_row
3905 current_column=first_column
3906 final_column=current_column+(number_first-1)*delta_column
3907 IF(final_column>last_column) final_column=last_column
3909 WRITE(
op_string,fmt=format_str) (matrix(current_row,count),count=current_column,final_column,delta_column)
3911 WRITE(
op_string,fmt=format_str) current_row,(matrix(current_row,count),count=current_column,final_column,delta_column)
3914 DO WHILE(final_column<last_column)
3915 current_column=final_column+delta_column
3916 final_column=final_column+number_repeat*delta_column
3917 IF(final_column>last_column) final_column=last_column
3918 WRITE(
op_string,fmt=repeat_format) (matrix(current_row,count),count=current_column,final_column,delta_column)
3925 999 errorsexits(
"WRITE_STRING_MATRIX_INTG",err,error)
3937 SUBROUTINE write_string_matrix_lintg(ID,FIRST_ROW,DELTA_ROW,LAST_ROW,FIRST_COLUMN,DELTA_COLUMN,LAST_COLUMN,NUMBER_FIRST, &
3938 & number_repeat,matrix,index_format_type,matrix_name_format,row_index_format,first_format,repeat_format,err,error,*)
3941 INTEGER(INTG),
INTENT(IN) :: ID
3942 INTEGER(INTG),
INTENT(IN) :: FIRST_ROW
3943 INTEGER(INTG),
INTENT(IN) :: DELTA_ROW
3944 INTEGER(INTG),
INTENT(IN) :: LAST_ROW
3945 INTEGER(INTG),
INTENT(IN) :: FIRST_COLUMN
3946 INTEGER(INTG),
INTENT(IN) :: DELTA_COLUMN
3947 INTEGER(INTG),
INTENT(IN) :: LAST_COLUMN
3948 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
3949 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
3950 INTEGER(LINTG),
INTENT(IN) :: MATRIX(:,:)
3951 INTEGER(INTG),
INTENT(IN) :: INDEX_FORMAT_TYPE
3952 CHARACTER(LEN=*),
INTENT(IN) :: MATRIX_NAME_FORMAT
3953 CHARACTER(LEN=*),
INTENT(IN) :: ROW_INDEX_FORMAT
3954 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
3955 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
3956 INTEGER(INTG),
INTENT(OUT) :: ERR
3959 INTEGER(INTG) :: current_row,current_column,final_column,count
3960 CHARACTER(LEN=MAXSTRLEN) :: FORMAT_STR
3965 format_str=matrix_name_format//first_format
3967 format_str=matrix_name_format//row_index_format//first_format
3969 CALL flagerror(
"Invalid index format type",err,error,*999)
3971 DO current_row=first_row,last_row,delta_row
3972 current_column=first_column
3973 final_column=current_column+(number_first-1)*delta_column
3974 IF(final_column>last_column) final_column=last_column
3976 WRITE(
op_string,fmt=format_str) (matrix(current_row,count),count=current_column,final_column,delta_column)
3978 WRITE(
op_string,fmt=format_str) current_row,(matrix(current_row,count),count=current_column,final_column,delta_column)
3981 DO WHILE(final_column<last_column)
3982 current_column=final_column+delta_column
3983 final_column=final_column+number_repeat*delta_column
3984 IF(final_column>last_column) final_column=last_column
3985 WRITE(
op_string,fmt=repeat_format) (matrix(current_row,count),count=current_column,final_column,delta_column)
3992 999 errorsexits(
"WRITE_STRING_MATRIX_LINTG",err,error)
4002 SUBROUTINE write_string_matrix_l(ID,FIRST_ROW,DELTA_ROW,LAST_ROW,FIRST_COLUMN,DELTA_COLUMN,LAST_COLUMN,NUMBER_FIRST, &
4003 & number_repeat,matrix,index_format_type,matrix_name_format,row_index_format,first_format,repeat_format,err,error,*)
4006 INTEGER(INTG),
INTENT(IN) :: ID
4007 INTEGER(INTG),
INTENT(IN) :: FIRST_ROW
4008 INTEGER(INTG),
INTENT(IN) :: DELTA_ROW
4009 INTEGER(INTG),
INTENT(IN) :: LAST_ROW
4010 INTEGER(INTG),
INTENT(IN) :: FIRST_COLUMN
4011 INTEGER(INTG),
INTENT(IN) :: DELTA_COLUMN
4012 INTEGER(INTG),
INTENT(IN) :: LAST_COLUMN
4013 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
4014 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
4015 LOGICAL,
INTENT(IN) :: MATRIX(:,:)
4016 INTEGER(INTG),
INTENT(IN) :: INDEX_FORMAT_TYPE
4017 CHARACTER(LEN=*),
INTENT(IN) :: MATRIX_NAME_FORMAT
4018 CHARACTER(LEN=*),
INTENT(IN) :: ROW_INDEX_FORMAT
4019 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
4020 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
4021 INTEGER(INTG),
INTENT(OUT) :: ERR
4024 INTEGER(INTG) :: current_row,current_column,final_column,count
4025 CHARACTER(LEN=MAXSTRLEN) :: FORMAT_STR
4030 format_str=matrix_name_format//first_format
4032 format_str=matrix_name_format//row_index_format//first_format
4034 CALL flagerror(
"Invalid index format type",err,error,*999)
4036 DO current_row=first_row,last_row,delta_row
4037 current_column=first_column
4038 final_column=current_column+(number_first-1)*delta_column
4039 IF(final_column>last_column) final_column=last_column
4041 WRITE(
op_string,fmt=format_str) (matrix(current_row,count),count=current_column,final_column,delta_column)
4043 WRITE(
op_string,fmt=format_str) current_row,(matrix(current_row,count),count=current_column,final_column,delta_column)
4046 DO WHILE(final_column<last_column)
4047 current_column=final_column+delta_column
4048 final_column=final_column+number_repeat*delta_column
4049 IF(final_column>last_column) final_column=last_column
4050 WRITE(
op_string,fmt=repeat_format) (matrix(current_row,count),count=current_column,final_column,delta_column)
4057 999 errorsexits(
"WRITE_STRING_MATRIX_L",err,error)
4067 SUBROUTINE write_string_matrix_sp(ID,FIRST_ROW,DELTA_ROW,LAST_ROW,FIRST_COLUMN,DELTA_COLUMN,LAST_COLUMN,NUMBER_FIRST, &
4068 & number_repeat,matrix,index_format_type,matrix_name_format,row_index_format,first_format,repeat_format,err,error,*)
4071 INTEGER(INTG),
INTENT(IN) :: ID
4072 INTEGER(INTG),
INTENT(IN) :: FIRST_ROW
4073 INTEGER(INTG),
INTENT(IN) :: DELTA_ROW
4074 INTEGER(INTG),
INTENT(IN) :: LAST_ROW
4075 INTEGER(INTG),
INTENT(IN) :: FIRST_COLUMN
4076 INTEGER(INTG),
INTENT(IN) :: DELTA_COLUMN
4077 INTEGER(INTG),
INTENT(IN) :: LAST_COLUMN
4078 INTEGER(INTG),
INTENT(IN) :: NUMBER_FIRST
4079 INTEGER(INTG),
INTENT(IN) :: NUMBER_REPEAT
4080 REAL(SP),
INTENT(IN) :: MATRIX(:,:)
4081 INTEGER(INTG),
INTENT(IN) :: INDEX_FORMAT_TYPE
4082 CHARACTER(LEN=*),
INTENT(IN) :: MATRIX_NAME_FORMAT
4083 CHARACTER(LEN=*),
INTENT(IN) :: ROW_INDEX_FORMAT
4084 CHARACTER(LEN=*),
INTENT(IN) :: FIRST_FORMAT
4085 CHARACTER(LEN=*),
INTENT(IN) :: REPEAT_FORMAT
4086 INTEGER(INTG),
INTENT(OUT) :: ERR
4089 INTEGER(INTG) :: current_row,current_column,final_column,count
4090 CHARACTER(LEN=MAXSTRLEN) :: FORMAT_STR
4095 format_str=matrix_name_format//first_format
4097 format_str=matrix_name_format//row_index_format//first_format
4099 CALL flagerror(
"Invalid index format type",err,error,*999)
4101 DO current_row=first_row,last_row,delta_row
4102 current_column=first_column
4103 final_column=current_column+(number_first-1)*delta_column
4104 IF(final_column>last_column) final_column=last_column
4106 WRITE(
op_string,fmt=format_str) (matrix(current_row,count),count=current_column,final_column,delta_column)
4108 WRITE(
op_string,fmt=format_str) current_row,(matrix(current_row,count),count=current_column,final_column,delta_column)
4111 DO WHILE(final_column<last_column)
4112 current_column=final_column+delta_column
4113 final_column=final_column+number_repeat*delta_column
4114 IF(final_column>last_column) final_column=last_column
4115 WRITE(
op_string,fmt=repeat_format) (matrix(current_row,count),count=current_column,final_column,delta_column)
4122 999 errorsexits(
"WRITE_STRING_MATRIX_SP",err,error)
Converts a number to its equivalent varying string representation.
subroutine, public write_str(ID, ERR, ERROR,)
Writes the output string to a specified output stream.
This module contains all string manipulation and transformation routines.
This module provides an iso_varying_string module, conformant to the API specified in ISO/IEC 1539-2:...
This module contains all program wide constants.
This module contains all the low-level base routines e.g., all debug, control, and low-level communic...
type(varying_string) function, public logical_to_vstring(LOGICALVALUE, ERR, ERROR)
Converts a logical value to either a "TRUE" or "FALSE" varying string.
character(len=maxstrlen), dimension(max_output_lines), save, public op_string
The array of lines to output.
Flags an error condition.
This module contains all kind definitions.