- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am using fortran 11.0.035 compiler version on visual studio 2005. Please check the following code is giving wrong result for me. I am not getting the problem. Will IOCHK differ from compiler to compiler??
IF(IOCHK.NE.0)THEN //this conditioin is true
cscl begin pipewrite
cscl PRINT 479,IOCHK
4791 Buffer=' '
WRITE(Buffer,479,ERR=99479,IOSTAT=iPipeErr)IOCHK
Above code in cludeds piping concept in client server programming, above code is from server side. client should give some information to the client but it is not sending information. So I am getting buffer data as empty.
for what IOCHK will be used? why i am unable to execute the above code successfully.
IF(IOCHK.NE.0)THEN //this conditioin is true
cscl begin pipewrite
cscl PRINT 479,IOCHK
4791 Buffer=' '
WRITE(Buffer,479,ERR=99479,IOSTAT=iPipeErr)IOCHK
Above code in cludeds piping concept in client server programming, above code is from server side. client should give some information to the client but it is not sending information. So I am getting buffer data as empty.
for what IOCHK will be used? why i am unable to execute the above code successfully.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you expecting IOCHK to be a Fortran vendor implemented built-in? Most vendor-dependent built-ins take the form of a function call. More likely, it would be a variable defined in your source code, possibly set by an iostat= or stat= specifier. You would have to show at least that much of your code to hope for an explanation.
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