hexagon logo

Basic script question

Hello!
I am making a little script which is reading a text file
and put each line in a variable
my problem is that i want to compare the variables with each other to find the lowest value

Please help me Slight smile
  • In the end, what exactly are you after.

    If you are trying to find the lowest value, that is one problem.

    From the looks of your code, you are actually trying to sort the data from lowest to highest, that is a different problem.

    Do you need to write it out to a file, or is it sufficient to display the lowest value? Do you need to know what position it was in when you read it (relative to the other data)?