vektor
can any body explain how to create and use lbound array in pc dmis basic script the helpfile on this subject is a little thin
i want to create a script that read measurments values and then sort them
to get the lowest value
Please help me
craiger_ny
You don't need to sort to get the minimum number in an array, nor do you need a script. What exactly is it you are doing? I may not understand what is going on here. Are you doing this in VB or in PCDMIS?
vektor
I am doin this in pc dmis internal Basic script editor.
I want to get old values from a external txt file and a fresh value from pcdmis .
Compare the values and return the lowest back to pcdmis .
And put some updated values to the txt file.
craiger_ny
PCDMIS can read in the values from the text file (how are they delimited?) and can populate an array and return the minimum and can also write them into a text file. There is no need for a script unless the delimiting of the text file creates more PCDMIS code than is desireable. |