| Author |
Executing Fortran Code One Line at a Time
|
|
|
| Hi guys. I'm a bit of a newbie to Fortran having only started learning
it on my Physics course at Uni - so far I'm enjoying it. It's certainly
a far more logical language then what I've used before (eg. Visual
Basic)
One thing that's bugging me though is that I can't find somewhere where
I can execute code I write one line at a time. I think it was called
stepping ro something in VB. That was one feature that was extremely
useful when my VB programs used to get quite complex.
Is their anything in Salford Plato 3.20 that can do this? I have the
Personal edition (the free one with the annoying banner)
Cheers,
Matt
| |
|
|
"Matt" <mattb95@hotmail.com> wrote in message
news:1132954985.203711.54880@f14g2000cwb.googlegroups.com...
> Hi guys. I'm a bit of a newbie to Fortran having only started learning
> it on my Physics course at Uni - so far I'm enjoying it. It's certainly
> a far more logical language then what I've used before (eg. Visual
> Basic)
>
> One thing that's bugging me though is that I can't find somewhere where
> I can execute code I write one line at a time. I think it was called
> stepping ro something in VB. That was one feature that was extremely
> useful when my VB programs used to get quite complex.
>
> Is their anything in Salford Plato 3.20 that can do this? I have the
> Personal edition (the free one with the annoying banner)
>
> Cheers,
>
> Matt
>
Some debuggers will allow stepping through the code one line at a time but
this is a feature of the debugger not of Fortran.
Jim
| |
|
|
"Jim" <j.n@nospam.com> wrote in message
news:MfMhf.25053$tV6.10965@newssvr27.news.prodigy.net...
>
> "Matt" <mattb95@hotmail.com> wrote in message
> news:1132954985.203711.54880@f14g2000cwb.googlegroups.com...
> Some debuggers will allow stepping through the code one line at a time but
> this is a feature of the debugger not of Fortran.
> Jim
>
You could put output statements every now and then.
Jim
| |
|
| I've found an option in the Plato software that lets me step through
the code by pressing F7.
It's under Build --> Step Into in case anyone else is interested.
Thanks for the replies.
Matt
|
|
|
|