Hello Guest it is April 26, 2024, 09:45:24 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - WINDHAM

Pages: 1
1
VB and the development of wizards / How to stop garbage collection?
« on: July 29, 2009, 12:44:18 PM »
Is there any way to preserve objects / variables in separate scripts contained within mach3 buttons after termination of the script? 

I've created an mscomm object in a button script to open a serial port, but it kills the object when the script terminates, requiring repetitive recreation of this object and repetitive opening/closing of the port as a result.

What is the typical method for sharing or preserving variable/object information between independant scripts?  Is it possible?

Pages: 1