几何尺寸与公差论坛

 找回密码
 注册
查看: 2988|回复: 0

【转帖】Basic script question

[复制链接]
发表于 2007-11-26 11:17:04 | 显示全部楼层 |阅读模式
vektor                       
                                                       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
  
                                                                                                                              Don Ruggieri                                   
                                                       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)?
                                                                     __________________
                  "I ain't as good as I once was, but I'm as good once as I ever was" - Toby Keith
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-4-26 23:51 , Processed in 0.035002 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表