Re: Fortran to VB.net
- From: dpb <none@xxxxxxx>
- Date: Mon, 02 Jul 2007 19:11:02 -0500
Wade Ward wrote:
"Shawn" <saquisenberry@xxxxxxxxx> wrote in message news:1183408554.674446.108800@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxThank you.It sounds like you're getting it done. At the end I'd like to see what the Fortran was and what the VB became to compare alongside.
Had already gotten Open in VB.NET --> Fileopen(#, filename, etc..)
Close is similar --> Fileclose(#)
Rewind(kr(7)) --> Seek, #kr(7), 1 .Forgot all about seek.
You can do anything w/ Format$() in VB shown here -- just more painful,I was afraid of that, the "more painful" part that is.
but it's doable...
.Net switched to a more obj oriented method but still supports the
previous style for file management.
I suspect it will be quite similar w/ the exception of needing as pointed out to parse an input line manually if the input can't be modified to be comma-delimited or similarly made compatible w/ the VB input parsing rules (which don't include the ability to use a format string).
For procedural-only code, I've often described Fortran as BASIC w/ DO...ENDDO instead of For...Next. While there are other things like Format$() being a pita as compared to Fortran FORMAT statements, overall there's a very direct comparison in most parts of the language.
--
.
- References:
- Fortran to VB.net
- From: Shawn
- Re: Fortran to VB.net
- From: dpb
- Re: Fortran to VB.net
- From: dpb
- Re: Fortran to VB.net
- From: Shawn
- Re: Fortran to VB.net
- From: Wade Ward
- Fortran to VB.net
- Prev by Date: Re: Need Help: compiling old Fortran program
- Next by Date: Re: Scope question (gfortran odd-man out)
- Previous by thread: Re: Fortran to VB.net
- Next by thread: Re: Fortran to VB.net
- Index(es):
Relevant Pages
|
Loading