|
subroutine | url_split_c (fullname, file, var, attr, iorange) |
|
Definition at line 60 of file dc_url.f90.
◆ url_split_c()
subroutine dc_url::urlsplit::url_split_c |
( |
character(len = *), intent(in) |
fullname, |
|
|
character(len = *), intent(out), optional |
file, |
|
|
character(len = *), intent(out), optional |
var, |
|
|
character(len = *), intent(out), optional |
attr, |
|
|
character(len = *), intent(out), optional |
iorange |
|
) |
| |
|
private |
Definition at line 254 of file dc_url.f90.
260 character(len = *),
intent(in):: fullname
261 character(len = *),
intent(out),
optional:: file, var, attr, iorange
262 character(len = STRING):: varpart
263 integer:: atmark, colon, comma
264 character(len = *),
parameter:: varname_set &
265 =
"0123456789eEdD+-=^,.:_" &
266 //
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" &
267 //
"abcdefghijklmnopqrstuvwxyz" 273 atmark = index(fullname, gt_question)
274 if (atmark == 0)
then 275 atmark = index(fullname, gt_atmark, back=.true.)
276 if (atmark /= 0)
then 277 if (verify(trim(fullname(atmark+1: )), varname_set) /= 0)
then 282 if (atmark == 0)
then 284 if (
present(file)) file = fullname
285 if (
present(var)) var =
'' 286 if (
present(attr)) attr =
'' 287 if (
present(iorange)) iorange =
'' 290 varpart = fullname(atmark+1: )
292 if (
present(file)) file = fullname(1: atmark - 1)
294 comma = index(varpart, gt_comma)
297 if (
present(var)) var = varpart(1: comma - 1)
298 if (
present(attr)) attr =
'' 299 if (
present(iorange)) iorange = varpart(comma + 1: )
302 if (
present(iorange)) iorange =
'' 304 colon = index(varpart, gt_colon)
306 if (
present(var)) var = varpart
307 if (
present(attr)) attr =
'' 311 if (
present(var)) var = varpart(1: colon - 1)
312 if (
present(attr)) attr = varpart(colon + 1: )
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
The documentation for this interface was generated from the following file: