Channel Error
Altair Forum User
Altair Employee
Hey everybody,
running the script attached, the following error is occuring:
I have absolutely no clue why this is happening. Can you maybe help me out?
Kind regards
Simon
0
Answers
-
Hi,
Why don't you give the full file path?
0 -
Hi
Maybe you closed the file before using 'gets'
Try this example not to use 'gets':
set f [open path.txt]
set buffer [read $f]
close $f
foreach line [split $buffer \n] {
set fields [split $line ,]
....
}
0 -
Thanks Thin, this helped us a lot!
0