replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Format statement read in windows but not in linux
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Format statement read in windows but not in linux

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
christyleomin



Joined: 08 Apr 2011
Posts: 155

PostPosted: Fri Nov 25, 2011 4:28 pm    Post subject: Format statement read in windows but not in linux Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Fri Nov 25, 2011 6:34 pm    Post subject: Reply with quote

Try I8 or I9 say instead of I7.
Back to top
View user's profile Send private message AIM Address
christyleomin



Joined: 08 Apr 2011
Posts: 155

PostPosted: Fri Nov 25, 2011 6:38 pm    Post subject: Reply with quote

Tried I8,I9,I10- does not work.

Opened with linux editor Kedit and more. Please help-thanks for the reply
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2615
Location: Sydney

PostPosted: Sat Nov 26, 2011 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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