Skip to content

Commit 407b0f1

Browse files
committed
Move short descriptions
1 parent 39fd867 commit 407b0f1

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

doc/specs/stdlib_string_type.md

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ used in a pure way.
3838
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
3939
### Constructor for empty string
4040

41-
The module defines a default constructor to create an empty string type.
42-
4341
#### Description
4442

43+
The module defines a default constructor to create an empty string type.
44+
4545
Creates a string instance representing an empty string.
4646

4747
#### Syntax
@@ -80,11 +80,11 @@ end program demo
8080
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
8181
### Constructor from character scalar
8282

83+
#### Description
84+
8385
The module defines a default constructor to create a string type
8486
from a character scalar.
8587

86-
#### Description
87-
8888
Creates a string instance representing the input character scalar value.
8989
The constructor shall create an empty string if an unallocated deferred-length
9090
character variable is passed.
@@ -127,11 +127,11 @@ end program demo
127127
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
128128
### Assignment of character scalar
129129

130+
#### Description
131+
130132
The module defines an assignment operations, `=`, to create a string type
131133
from a character scalar.
132134

133-
#### Description
134-
135135
Creates a string instance representing the right-hand-side character scalar value.
136136

137137
#### Syntax
@@ -566,10 +566,10 @@ end program demo
566566
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
567567
### Ichar function
568568

569-
Character-to-integer conversion function.
570-
571569
#### Description
572570

571+
Character-to-integer conversion function.
572+
573573
Returns the code for the character in the first character position of the
574574
character sequence in the system's native character set.
575575

@@ -611,10 +611,10 @@ end program demo
611611
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
612612
### Iachar function
613613

614-
Code in ASCII collating sequence.
615-
616614
#### Description
617615

616+
Code in ASCII collating sequence.
617+
618618
Returns the code for the ASCII character in the first character position of
619619
the character sequences represent by the string.
620620

@@ -656,10 +656,10 @@ end program demo
656656
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
657657
### Index function
658658

659-
Position of a *substring* within a *string*.
660-
661659
#### Description
662660

661+
Position of a *substring* within a *string*.
662+
663663
Returns the position of the start of the leftmost or rightmost occurrence
664664
of string *substring* in *string*, counting from one. If *substring* is not
665665
present in *string*, zero is returned.
@@ -711,11 +711,11 @@ end program demo
711711
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
712712
### Scan function
713713

714+
#### Description
715+
714716
Scan a *string* for the presence of a *set* of characters. Scans a *string* for
715717
any of the characters in a *set* of characters.
716718

717-
#### Description
718-
719719
If *back* is either absent or *false*, this function returns the position
720720
of the leftmost character of *string* that is in *set*. If *back* is *true*,
721721
the rightmost position is returned. If no character of *set* is found in
@@ -768,11 +768,11 @@ end program demo
768768
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
769769
### Verify function
770770

771+
#### Description
772+
771773
Scan a *string* for the absence of a *set* of characters. Verifies that all
772774
the characters in *string* belong to the set of characters in *set*.
773775

774-
#### Description
775-
776776
If *back* is either absent or *false*, this function returns the position
777777
of the leftmost character of *string* that is not in *set*. If *back* is *true*,
778778
the rightmost position is returned. If all characters of *string* are found
@@ -831,10 +831,10 @@ end program demo
831831
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
832832
### Lgt function (lexical greater than)
833833

834-
Lexically compare the order of two character sequences being greater than.
835-
836834
#### Description
837835

836+
Lexically compare the order of two character sequences being greater than.
837+
838838
The left-hand side, the right-hand side or both character sequences can
839839
be represented by a string type.
840840
This defines three procedures overloading the intrinsic `lgt` procedure.
@@ -885,10 +885,10 @@ end program demo
885885
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
886886
### Llt function (lexical less than)
887887

888-
Lexically compare the order of two character sequences being less than.
889-
890888
#### Description
891889

890+
Lexically compare the order of two character sequences being less than.
891+
892892
The left-hand side, the right-hand side or both character sequences can
893893
be represented by a string type.
894894
This defines three procedures overloading the intrinsic `llt` procedure.
@@ -939,11 +939,11 @@ end program demo
939939
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
940940
### Lge function (lexical greater than or equal)
941941

942+
#### Description
943+
942944
Lexically compare the order of two character sequences being greater than
943945
or equal.
944946

945-
#### Description
946-
947947
The left-hand side, the right-hand side or both character sequences can
948948
be represented by a string type.
949949
This defines three procedures overloading the intrinsic `lge` procedure.
@@ -994,11 +994,11 @@ end program demo
994994
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
995995
### Lle function (lexical less than or equal)
996996

997+
#### Description
998+
997999
Lexically compare the order of two character sequences being less than
9981000
or equal.
9991001

1000-
#### Description
1001-
10021002
The left-hand side, the right-hand side or both character sequences can
10031003
be represented by a string type.
10041004
This defines three procedures overloading the intrinsic `lle` procedure.
@@ -1049,10 +1049,10 @@ end program demo
10491049
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
10501050
### Comparison operator greater
10511051

1052-
Compare the order of two character sequences being greater.
1053-
10541052
#### Description
10551053

1054+
Compare the order of two character sequences being greater.
1055+
10561056
The left-hand side, the right-hand side or both character sequences can
10571057
be represented by a string type.
10581058
This defines three procedures overloading the intrinsic `operator(>)`
@@ -1106,10 +1106,10 @@ end program demo
11061106
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
11071107
### Comparison operator less
11081108

1109-
Compare the order of two character sequences being less.
1110-
11111109
#### Description
11121110

1111+
Compare the order of two character sequences being less.
1112+
11131113
The left-hand side, the right-hand side or both character sequences can
11141114
be represented by a string type.
11151115
This defines three procedures overloading the intrinsic `operator(<)`
@@ -1163,10 +1163,10 @@ end program demo
11631163
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
11641164
### Comparison operator greater or equal
11651165

1166-
Compare the order of two character sequences being greater or equal.
1167-
11681166
#### Description
11691167

1168+
Compare the order of two character sequences being greater or equal.
1169+
11701170
The left-hand side, the right-hand side or both character sequences can
11711171
be represented by a string type.
11721172
This defines three procedures overloading the intrinsic `operator(>=)`
@@ -1220,10 +1220,10 @@ end program demo
12201220
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
12211221
### Comparison operator less or equal
12221222

1223-
Compare the order of two character sequences being less or equal.
1224-
12251223
#### Description
12261224

1225+
Compare the order of two character sequences being less or equal.
1226+
12271227
The left-hand side, the right-hand side or both character sequences can
12281228
be represented by a string type.
12291229
This defines three procedures overloading the intrinsic `operator(<=)`
@@ -1277,10 +1277,10 @@ end program demo
12771277
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
12781278
### Comparison operator equal
12791279

1280-
Compare two character sequences for equality.
1281-
12821280
#### Description
12831281

1282+
Compare two character sequences for equality.
1283+
12841284
The left-hand side, the right-hand side or both character sequences can
12851285
be represented by a string type.
12861286
This defines three procedures overloading the intrinsic `operator(==)`
@@ -1334,10 +1334,10 @@ end program demo
13341334
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
13351335
### Comparison operator not equal
13361336

1337-
Compare two character sequences for inequality.
1338-
13391337
#### Description
13401338

1339+
Compare two character sequences for inequality.
1340+
13411341
The left-hand side, the right-hand side or both character sequences can
13421342
be represented by a string type.
13431343
This defines three procedures overloading the intrinsic `operator(/=)`
@@ -1391,10 +1391,10 @@ end program demo
13911391
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
13921392
### Concatenation operator
13931393

1394-
Concatenate two character sequences.
1395-
13961394
#### Description
13971395

1396+
Concatenate two character sequences.
1397+
13981398
The left-hand side, the right-hand side or both character sequences can
13991399
be represented by a string type.
14001400
This defines three procedures overloading the intrinsic `operator(//)`.

0 commit comments

Comments
 (0)