- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am converting a large application from PowerStation 4.0 to Visual Fortran 6.5. In one part of my application, I write a day number to the screen. I want day 2 to overwrite day 1, etc.
PowerStation code used a "+" in column 1, but this does not work in CVF 6.5. How do I fix this?
The application does not open unit = 6 specifically, Do I need to do this?
Code is:
if (abs(tsim-tstart) .lt. 1.0) then
cchr = ' '
else
cchr = '+'
endif
C WRITE LINE TO SCREEN.
write (6,1000) cchr, nday
1000 format (A1, '*** Day', I5)
thanks
Joe
PowerStation code used a "+" in column 1, but this does not work in CVF 6.5. How do I fix this?
The application does not open unit = 6 specifically, Do I need to do this?
Code is:
if (abs(tsim-tstart) .lt. 1.0) then
cchr = ' '
else
cchr = '+'
endif
C WRITE LINE TO SCREEN.
write (6,1000) cchr, nday
1000 format (A1, '*** Day', I5)
thanks
Joe
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compile with /ccdefault:fortran or select in Project..Settings..Fortran..Run-Time. Enabling PowerStation "general" compatibility also will do this.
Steve
Steve
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page