Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. IamMcCoder

    Char argument

    I could use some help fixing this error. Thanks in advance. In file aacgm_init.f:65 fname(i:i) = char(filename(i)) 1 Error: 'i' argument of 'char' intrinsic at (1) must be INTEGER My code: SUBROUTINE aacgm_init(...
  2. IamMcCoder

    Unexpected Array Reference

    Thanks for your time and help. I have it working!
  3. IamMcCoder

    Unexpected Array Reference

    Hi NickFort I did as you suggested and now my code looks like: write (*,*) 'short_line: ', nstp, x, y, z, hemisphere write (*,100) nstp,x,y,z,h,hemisphere 100 format ('short_trline: ',I5,5(E4.2)) I receive this error: 100 format ('short_trline: ',I5,5(E4.2)) 1 Error: Unclassifiable...
  4. IamMcCoder

    Unexpected Array Reference

    Nevermind my previous post. Instead, I decided to send the data to standard output by changing my code to: write (*,*) 'short_trline: ', nstp, x, y, z, hemisphere But I still have the following errors: hemisphere = float(dir) * z 1 Error: Type of argument 'a' in call to...
  5. IamMcCoder

    Unexpected Array Reference

    Thanks you. I changed my code to: write (*,'short_trline:',nstp,x,y,z,h,hemisphere) Now however, I receive the error: write (*,'short_trline:',nstp,x,y,z,h,hemisphere) 1 Error: Syntax error in WRITE statement at (1)
  6. IamMcCoder

    Unexpected Array Reference

    Little help debugging please? Thanks in advance. I receive this error message when compiling my code using FORTRAN g95: In file short_trl.f:171 type (*,'short_trline:',nstp,x,y,z,h,hemisphere) 1 Error: Unexpected array reference at (1) Here's my code...

Part and Inventory Search

Back
Top