Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: rrc1962 on December 14, 2010, 08:06:20 PM
-
Can you use include files in VB Script? I have a few functions that need to be attached to more than one button script. I'm trying to avoid duplicating each function on each button script. There are parameters that could change in the functions and I'd rather just have to deal with one copy.
Thanks
-
HUM I don't think so, would be nice though update one update all(;-)
(;-) TP
-
Hi,
There is an include facility in Mach - if you are running mach 3.43.6 or later.
mach spells it "#Expand"
For more info see the programmer ref manual at http://machsupport.com/docs/Mach3_V3.x_Macro_Prog_Ref.pdf (http://machsupport.com/docs/Mach3_V3.x_Macro_Prog_Ref.pdf)
Expand is one of the later sections in the document.
Dave