Fortran 的 scalar-valued argument 错误提示信息是:Error 1 error #6360:A scalar-valued argument is required in this context.[TRIM] 我写的语句是:CHARACTER (80) ::STRFILEOPEN(numfile(i),FILE=trim(STRFILE)//".dat",STATUS='UNKNOWN')

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/20 03:15:26
Fortran的scalar-valuedargument错误提示信息是:Error1error#6360:Ascalar-valuedargumentisrequiredinthiscontext.

Fortran 的 scalar-valued argument 错误提示信息是:Error 1 error #6360:A scalar-valued argument is required in this context.[TRIM] 我写的语句是:CHARACTER (80) ::STRFILEOPEN(numfile(i),FILE=trim(STRFILE)//".dat",STATUS='UNKNOWN')
Fortran 的 scalar-valued argument
错误提示信息是:
Error 1 error #6360:A scalar-valued argument is required in this context.[TRIM]
我写的语句是:
CHARACTER (80) ::STRFILE
OPEN(numfile(i),FILE=trim(STRFILE)//".dat",STATUS='UNKNOWN')

Fortran 的 scalar-valued argument 错误提示信息是:Error 1 error #6360:A scalar-valued argument is required in this context.[TRIM] 我写的语句是:CHARACTER (80) ::STRFILEOPEN(numfile(i),FILE=trim(STRFILE)//".dat",STATUS='UNKNOWN')
CHARACTER (80) :: STRFILE
改成:
CHARACTER*80 :: STRFILE