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 Chriss Miller 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: *

  • Users: xrayspex1
  • Content: Threads
  • Order by date
  1. xrayspex1

    Fortran Trim() problem

    hi all, can anyone maybe explain to me what i am doing wrong with the TRIM function, because it doesn't actually remove any blanks from my string. The code is here: program trim_err implicit none character(30) :: my_string my_string = ' 123465 ' print *, '|'//my_string//'|' my_string =...
  2. xrayspex1

    Fortran and Matlab operator priorities

    i've been comparing 4th order Runge-Kutta method i wrote in F90 and in Matlab R2006 and stumbled upon a bizzare thing: is it possible that the two programs have different arithmetic operator priorities???? look at the attached picture: if i use parenthesis to specify the computation order...
  3. xrayspex1

    assumed shape array

    hi all, i'm trying to write a very simple program, which prompts me for matrix dimensions (m,n) and then outputs a m x n matrix of ones (1's) on the display. the thing obviously :) doesn't work - if you can help me, i'd be very grateful! my...
  4. xrayspex1

    sum in f90 not working?

    hi all, i'm a complete newbie to fortran - if someone can take 30 seconds to look at the short code below and tell me why it prints the wrong sum of two numbers, i'd be very gratefull, because i'm freaking out already... CODE: program temp implicit none real,external :: add real...

Part and Inventory Search

Back
Top