Hello Guest it is April 19, 2024, 12:44:44 PM

Author Topic: Using Include Files  (Read 2467 times)

0 Members and 1 Guest are viewing this topic.

Using Include Files
« 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

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Using Include Files
« Reply #1 on: December 15, 2010, 10:14:06 AM »
HUM I don't think so, would be nice though update one update all(;-)

(;-) TP
Re: Using Include Files
« Reply #2 on: December 16, 2010, 01:42:04 AM »
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
Expand is one of the later sections in the document.

Dave

Author of the MachStdMill Extensions for Mach3
www.CalypsoVentures.com