- UID
- 4434
- 性别
- 男
Vim
- 积分
- 1601
- F 币
- 961 元
- 最后登录
- 2024-4-6
- 贡献
- 469 点
- 注册时间
- 2020-1-27
- 权杖
- 1 枚
惯用编译器:GFortran for Windows
大师
Vim
- F 币
- 961 元
- 贡献
- 469 点
|
是的,这是Fortran标准规定的
For a character relational intrinsic operation, the operands are compared one character at a time in order, beginning with the first character of each character operand. If the operands are of unequal length, the shorter operand is treated as if it were extended on the right with blanks to the length of the longer operand.
如果长度不同,会自动扩展长度较短的那个,补齐空格
https://community.intel.com/t5/I ... parisons/m-p/798324 |
|