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. Panavia

    Perl code using CUrl

    Hi, I have a peace of perl code which is using curl to download GRIB files. Coming from a Visual Basic and Java backgoud I have just limited knowledge about what exactly is going on in the code below. Especially the curl usage is very cryptographic for me... I would highly apprechiate if...
  2. Panavia

    Matrix Looping

    Nevermind, I found it myself. Didn't see the obvious...
  3. Panavia

    Matrix Looping

    Hi, I'm trying to convert some Fortran Code into Java. Unfortunately the following Loop kind of blows my mind. Could someone please explain in simple terms what is going on in this code? DO 110 I=1,IWINDO DO 111 J=1,IWINDO A(J)=H(I0+I,J0+J) 111 CONTINUE CALL...
  4. Panavia

    Input Limitation of Textbox

    Thanks for the tips. I hesitated to include more, too specific features. Up to now I rather restrict certain input devices my own. I this context I would think that numericupdowns, at least for my application, are a litte too circuitous for the user. In future I will definetely look deeper into...
  5. Panavia

    Input Limitation of Textbox

    Hi, I'm trying to get two textboxes to behave in a certain way to minimize user input errors. Unfortunately I'm stuck with a problem I dont't get resolved... I have two textboxes in which the user may enter geographic coordinates. As an example here the format of the latitude coordinate: Textbox...
  6. Panavia

    LOGICAL Expression

    Ah, I totally missed the integer considerations. Thanks!
  7. Panavia

    LOGICAL Expression

    Hi, I'm still working on the translation of some Fortran code peaces into Visual Basic 2010 and tripped over an expression which doesn't make sense to me: PARAMETER(IWINDO=4) LOGICAL LODD LODD=(IWINDO/2)*2.NE.IWINDO If(LODD) THEN ... ENDIF For my understaning "LODD" is a boolean which will...
  8. Panavia

    Logic of a Function

    Would your code translated into Visual Basic look something like this? Dim IFRAC As Integer Dim R as Double = 3.14 If Not R >= 0 Or R = Math.Floor(R) Then IFRAC = Math.Floor(R) - 1
  9. Panavia

    Logic of a Function

    OK, that helps to sweeten the code. I thinhk I'll use the second expression. Thanks!
  10. Panavia

    Logic of a Function

    Awesome thanks! That helps a lot. Tobias
  11. Panavia

    Logic of a Function

    Thanks a lot! So do I understand it correctly that the code I posted returns if: - "R" is greater or equal to 0 - "R" is a whole number without decimals and only subtracts 1 of the whole number in front of the decimals of "R" if those two cases don't apply? Does the fact that the...
  12. Panavia

    Logic of a Function

    Hi, I have a small problem understanding the following peace of code. It should be very simple but for me, coming from a visual basic background, it doesn't make sense. FUNCTION IFRAC(R) IMPLICIT REAL*8(A-H, O-Z) IFRAC=R IF (R.GE.0) RETURN IF (R.EQ.IFRAC) RETURN IFRAC =...
  13. Panavia

    Unknown Variables

    Thanks a lot! That's really good information. Thanks to you the code makes sense to me now. I think, I have understood everey bit of it now. I even may take a look into the other languages you mentioned as well. Tobias
  14. Panavia

    Unknown Variables

    Thanks a lot. Now it makes sens! To FJacq: Awesome. I couldn't find this information in any general description about the Fortran language. Or it may have been hidden well. The point you are making about rewriting the code into Visual Basic is true. Unfortunately I'm just a novice VB programmer...
  15. Panavia

    Unknown Variables

    Hi guys, I'm usually writing small programms in VB 2008/2010. There is a EGM96 World Geomagnetic Reference Model which has been provided by the Office of GEOINT Sciences GEOINT. Unfortunately this Model is written in Fortran and I'm now trying to translate it into Visual Basic. I'm doing fine...

Part and Inventory Search

Back
Top