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 Chris 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: *

  1. puk5629

    How to get values from if function?

    Thanks for the suggestion. I just found out that I redeclared a variable.
  2. puk5629

    How to get values from if function?

    Hi, I'm trying to calculate some value under if function, but turns out 0 for the value that I wanted to obtain from it. Here's my coding. The Nindex and Objectthickness are array of double. When i track the n1,n2,thickness,Nnumber and Tnumber, they all shows 0. for k := 0 to m - 1 do...
  3. puk5629

    Invalid floating point operation

    Thank you very much
  4. puk5629

    Invalid floating point operation

    In this line of code: Homogeneous:=1-((Nraysmax-Nraysmin)/(Nraysmax+Nraysmin)); the Nraysmax=0 and Nraysmin=0
  5. puk5629

    Invalid floating point operation

    I'm trying to count the number of values falling between the X and Y min and max. So for those that fall under the condition given it will count the number and check whether it is larger than Nraysmax and Nraysmin or not. The initial value of Nraysmax is 0 and Nraysmin is Nofrays where Nrays...
  6. puk5629

    Invalid floating point operation

    variables i and Nrays.
  7. puk5629

    Invalid floating point operation

    Hi, Everytime i run the programme, it shows'Invalid floating point operation' at the line, Homogeneous:=1-((Nraysmax-Nraysmin)/(Nraysmax+Nraysmin));. Can someone tell me why? Following is the coding. procedure TForm1.Homo(var homogeneous:double); var i,Nrays,ibin,jbin:integer...
  8. puk5629

    How to fix Tyes of actual and formal var parameters must be identical

    Thank you very much for your help. Vincent
  9. puk5629

    How to fix Tyes of actual and formal var parameters must be identical

    Hi Everyone, I writen a procedure which content two-dimensional dynamic array and I tried to call the procedure in another procedure. But it shows, types of actual and formal var parameters must be identical. Here is the sample coding, Type MatrixArray:array of array of double; procedure...
  10. puk5629

    How to move values in array?

    The coding is just an example of what I'm trying to do. Not every values in Array1 is larger than 0. So for those that are larger than 0, it would calculate A and B and insert them in Array2. For those values in Array1 that are smaller than 0, it would save as 0 in Array2. Actually i'm trying...
  11. puk5629

    How to move values in array?

    Hi everyone, I'm create an array with values in it and those values will be recalculate and put into another array. I used a 'if' function to eliminate some valuse. The problem that i face is i don't know how to put those newly created values accordingly in the second array. For example...
  12. puk5629

    Array

    I'm dealling with 2 dimensional dynamic array. How can I do so? Any guideline?
  13. puk5629

    Array

    Hi everyone, I created 2 arrays. I wanted to store some of the values in the first array in second array. For example, the first array content 50 values and by using if statement, out of the 50 values only 5 of them will be stored in the second array. I want the values to be stored accordingly...

Part and Inventory Search

Back
Top