保存任意字符序列的字符串类型。
用于创建新字符串实例的构造函数
类型 | 意图 | 可选 | 属性 | 名称 | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in), | optional | :: | string |
类型 | 意图 | 可选 | 属性 | 名称 | ||
---|---|---|---|---|---|---|
integer(kind=int16), | intent(in) | :: | val |
类型 | 意图 | 可选 | 属性 | 名称 | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | val |
类型 | 意图 | 可选 | 属性 | 名称 | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | val |
类型 | 意图 | 可选 | 属性 | 名称 | ||
---|---|---|---|---|---|---|
integer(kind=int8), | intent(in) | :: | val |
类型 | 意图 | 可选 | 属性 | 名称 | ||
---|---|---|---|---|---|---|
logical(kind=lk), | intent(in) | :: | val |
type :: string_type ! Use the sequence statement below as a hack to prevent extending this type. ! It is not used for storage association. sequence private character(len=:), allocatable :: raw end type string_type