几何尺寸与公差论坛

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

array in basic script

[复制链接]
发表于 2007-11-26 11:20:11 | 显示全部楼层 |阅读模式
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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-4-25 21:50 , Processed in 0.035365 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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