8681
General Mach Discussion / Re: UPDATE to Mach Specific VB routines and VB Params!!
« on: April 01, 2009, 03:15:57 AM »
Thanks Scott for posting both documents - this will help me learn.
Tweakie.
Tweakie.
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.
If you want to run more than 500 lines of code, then you must use sub-routines, and an editor, like Microsoft Word, to split your code into 500 line chunks. Word is best at this, becasue it automatically numbers the lines, and as you chop 450 - 500 off, it renumbers.
I did this on a 5000 line code for drill and milling a printed circuit board, and it worked a treat. The main prgram just called the 10 subroutines in order.
When you feed it into mach 3 at the beginning, then, as Hood said, it goes through all the lines, and the subroutines, and paints a full picture.
A bit messy, but it works. Thank goodness I don't use long program.