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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.