hi catiman,
Thank you very much for your advice. Could you give me further suggestion if I want to use call a function recursively. Should I develop the call stack myself? Thanks
WXHLCY
I am using VBscript on Catia v5R8 now. I encountered a problem when I tried to pass an object into a vb sub from the parameter lists. It is seemed Passing an object in the lists is not allowed. Can anyone give me some advice?