06-15-2007 06:10 AM
06-15-2007 09:17 AM
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
06-20-2007 02:30 AM
06-23-2007 01:09 AM
Hello Michele!
Now I got the time to have a look at your script. I couldn't reproduce your error in DIAdem 10.1 likely I have not your data.
I tried to understand your code and found some ambiguous lines. First of all it as good practice to add a 'Option Explicit' statement at the top of a script. After I made this I got errors in the Lines 12+22 because 'Level_' is undefined. 'L1' is used but never set. The reason for your error could be the mixed use of a DIAdem variable with a VBS variable. You use 'L2' a standard DIAdem variable and use the same name as parameter variable for your functions. There it will be a VBS variable! Try to change the function parameter variable name to e.g. 'VbsL2' and repeat your test. If you want to use the DIAdem 'L2' than just delete the function parameter.
Note: You use the command 'ChD' to read the data. The command 'ChDx' is much faster!
Matthias
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
06-25-2007 02:05 AM
06-25-2007 03:23 AM
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
06-25-2007 03:41 AM