作者kenshui (kenshui)
看板Fortran
标题Re: [问题] 请高手帮忙
时间Sun Aug 25 23:28:14 2013
小弟不才,虽然有初步把两行连接的问题照着T大的方式解决了。
但执行档执行出来依旧还是有错:
--------------------Configuration: AL_best(2) - Win32
Debug--------------------
Compiling Fortran...
C:\Documents and Settings\user\桌面\AL_best(2).for
C:\Documents and Settings\user\Ra-±\AL_best(2).for(200) : Error: Syntax
error, found END-OF-STATEMENT when expecting one of: ( <IDENTIFIER>
<CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT>
<INTEGER_CONSTANT> ...
1 1.0D17*(G1(0)+G1(1)*t_e+G1(2)*t_e**2+G1(3)*t_e**3+G1(4)*t_e**4+
--------------------------------------------------------------------------^
C:\Documents and Settings\user\Ra-±\AL_best(2).for(202) : Error: Syntax
error, found '/' when expecting one of: <LABEL> <END-OF-STATEMENT> ; BLOCK
BLOCKDATA PROGRAM TYPE COMPLEX BYTE CHARACTER ...
/(G2(0)+G2(1)*t_e+G2(2)*t_e**2+G2(3)*t_e**3+G2(4)*t_e**4+
----------^
C:\Documents and Settings\user\Ra-±\AL_best(2).for(202) : Error: Syntax
error, found END-OF-STATEMENT when expecting one of: ( <IDENTIFIER>
<CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT>
<INTEGER_CONSTANT> ...
/(G2(0)+G2(1)*t_e+G2(2)*t_e**2+G2(3)*t_e**3+G2(4)*t_e**4+
-------------------------------------------------------------------^
C:\Documents and Settings\user\Ra-±\AL_best(2).for(202) : Error: A scalar
variable or an array element is required in this context.
/(G2(0)+G2(1)*t_e+G2(2)*t_e**2+G2(3)*t_e**3+G2(4)*t_e**4+
^
Error executing df.exe.
AL_best(2).exe - 4 error(s), 0 warning(s)
麻烦高手解惑了,小弟感激不尽 Q_Q
谢谢。
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.87.246
1F:→ ll3:这哪招 线上人工智慧DEBUG吗 08/26 15:04
2F:→ kenshui:Sorry,我再自己想看看^^" 08/26 16:07
3F:→ rex0707:看起来都是语法错误吧?! 08/26 22:54
4F:推 luckynu:不是是看到关键字!! 桌面 08/27 21:19
5F:→ rex0707:楼上是指路径有中文吧XDD 08/28 09:19