When I try to compile my C program I get this error at the first line:
C:\Mach3\PlugIns\InitStepDir3Axis.c:1: ';' expected
All of the lines already end with a semicolon.
I've attached the code for reference.
I figured it out. Newbie issue. I was missing the header for the includes and the function main.
For other newb's that stumble across this issue. The .c program is in fact a full on C program, which is a very good thing. You can do a tremendous amount in C.
If your getting the error that I had in my original post about missing a semicolon in the first line, make sure you have the following in your program at a minimum.
..... Your code goes here .....
I've attached the InitStepDir3Axis file with the correction to this post. If you look at the InitStepDir3Axis file attached to the previous post and the one attached to this post you can see the difference.
Hope this help someone,
Last edited by nova24; 01-31-2012 at 08:09 PM. Reason: grammer