implicit_1.f90
来自「用于进行gcc测试」· F90 代码 · 共 33 行
F90
33 行
! Test implicit character declarations.! This requires some coordination between the typespec and variable name range! matchers to get it right.module implicit_1 integer, parameter :: x = 10 integer, parameter :: y = 6 integer, parameter :: z = selected_int_kind(4)end modulesubroutine foo(n) use implicit_1 ! Test various combinations with and without character length ! and type kind specifiers implicit character(len=5) (a) implicit character(n) (b) implicit character*6 (c-d) implicit character (e) implicit character(x-y) (f) implicit integer(z) (g) implicit character (z) a1 = 'Hello' b1 = 'world' c1 = 'wibble' d1 = 'hmmm' e1 = 'n' f1 = 'test' g1 = 1 x1 = 1.0 y1 = 2.0 z1 = 'A'end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?