作者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