@@ -71,26 +71,16 @@ The result is of type `stringlist_index_type`.
71
71
72
72
``` fortran
73
73
program demo_fidx_bidx
74
- use stdlib_stringlist_type, only: stringlist_type, stringlist_index_type, fidx, bidx
74
+ use stdlib_stringlist_type, only: stringlist_index_type, fidx, bidx
75
75
implicit none
76
76
77
- type(stringlist_type) :: stringlist
78
77
type(stringlist_index_type) :: index
79
78
80
79
index = fidx(1)
81
-
82
- !> inserting 2 elements to the stringlist
83
- call stringlist%insert_at( fidx(1), "Element No. one" )
84
- call stringlist%insert_at( index, "Element No. two" )
85
- ! stringlist <-- {"Element No. two", "Element No. one"}
80
+ ! forward index 1
86
81
87
82
index = bidx(3)
88
-
89
- !> inserting 2 elements to the stringlist
90
- call stringlist%insert_at( bidx(1), "Element No. three" )
91
- call stringlist%insert_at( index, "Element No. four" )
92
- ! stringlist <-- {"Element No. two", "Element No. four",
93
- "Element No. one", "Element No. three"}
83
+ ! backward index 3
94
84
95
85
end program demo_fidx_bidx
96
86
```
@@ -175,10 +165,6 @@ Pure subroutine.
175
165
- ` string ` : Character scalar or [[ stdlib_string_type(module): string_type (type)]] .
176
166
This argument is ` intent(in) ` .
177
167
178
- #### Result value
179
-
180
- No result.
181
-
182
168
#### Example
183
169
184
170
``` fortran
@@ -230,7 +216,7 @@ Pure function.
230
216
#### Argument
231
217
232
218
- ` idx ` : [[ stdlib_stringlist_type(module): stringlist_index_type (type)]] .
233
- This argument is intent(in).
219
+ This argument is ` intent(in) ` .
234
220
235
221
#### Result value
236
222
@@ -345,10 +331,6 @@ Pure subroutine.
345
331
346
332
No arguments.
347
333
348
- #### Result value
349
-
350
- No result.
351
-
352
334
#### Example
353
335
354
336
``` fortran
0 commit comments