RobBliss
Joined: 14 Jul 2007 Posts: 7 Location: North Carolina, USA
|
Posted: Sun Jul 25, 2010 2:34 pm Post subject: CheckMate Win32 v Debug Win32 in Plato |
|
|
The following code segment produces no run time errors in Debug Win32 configuration in Plato, however in CheckMate Win32 configuration it produces the following error:
QUARTIC - in file f-w test.for at line 219 [+0074]
YIELD - in file f-w test.for at line 213 [+079c]
main - in file f-w test.for at line 120 [+10ea]
210 upper = t
211 lower = knots(i)
212 yield = yield + quartic(upper,c(i,1),c(i,2),c(i,3),c(i,4))
213 + - quartic(lower,c(i,1),c(i,2),c(i,3),c(i,4))
214 write(*,'(i5,2f6.0,f11.7)') t,upper,lower,yield
215 write(nunit,'(i5,2f6.0,f11.7)') t,upper,lower,yield
216 c
217 return
218 c
219 end function yield
220 c **********************************************************************
221 c **********************************************************************
222 real*8 function quartic(x,c1,c2,c3,c4)
223 c
224 real*8 x, c1, c2, c3, c4
225 c
226 quartic = (x*(c1 + x*(c2/2.0 + x*(c3/3.0 +x*c4/4.0))))
227 c
228 return
229 c
230 end function quartic
231 c **********************************************************************
Obviously I can just work in Debug Win32, but it seems odd. |
|
GoldenHeat
Joined: 13 Jul 2011 Posts: 6
|
Posted: Thu Jul 14, 2011 9:01 pm Post subject: |
|
|
What does line 120 look like? You need to include the entire code if you want us to provide you with accurate answers. For an example, when I am working in my email marketing software and I accidentally mess up one line of code or neglect to think it is a problem, it can alter the appearance of the entire message, especially the video converter media files. Come back with a little more information and we would love to help. |
|