 |
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
christyleomin
Joined: 08 Apr 2011 Posts: 155
|
Posted: Fri Nov 25, 2011 4:28 pm Post subject: Format statement read in windows but not in linux |
|
|
Hi,
I have a format statement as follows;
write(idev,572) lnodef(3,1),lnodef(2,1),lnodef(1,1),lnodef(5,1),lnodef(4,1),lnodef(6,1)
572 format(I7,I7,I7,I7,I7,I7)
However, it is written corrcetly in a windows system but not in Linux
In linux the print is as follows;
************************ 2398 2396 2395
Instead of the first three integers we have *****
please help anyone |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Fri Nov 25, 2011 6:34 pm Post subject: |
|
|
Try I8 or I9 say instead of I7. |
|
Back to top |
|
 |
christyleomin
Joined: 08 Apr 2011 Posts: 155
|
Posted: Fri Nov 25, 2011 6:38 pm Post subject: |
|
|
Tried I8,I9,I10- does not work.
Opened with linux editor Kedit and more. Please help-thanks for the reply |
|
Back to top |
|
 |
JohnCampbell
Joined: 16 Feb 2006 Posts: 2615 Location: Sydney
|
Posted: Sat Nov 26, 2011 12:21 pm Post subject: |
|
|
why not try a more general format and see what the numbers are, such as:
write(idev,*) lnodef(3,1),lnodef(2,1),lnodef(1,1),lnodef(5,1),lnodef(4,1),lnodef(6,1)
You will probably find that the numbers being printed are not as expected. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|