For Programmers: Free Programming Magazines  


Home > Archive > Fortran > November 2005 > Executing Fortran Code One Line at a Time









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Executing Fortran Code One Line at a Time
Matt

2005-11-25, 7:00 pm

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

Jim

2005-11-25, 7:00 pm


"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

2005-11-25, 9:56 pm


"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


Matt

2005-11-26, 6:58 pm

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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com