Rick G wrote: You can use a postamble (such as bye.ngc) as well as a preamble with ngcgui, perhaps that will do what you want.
Rick G
that is super obvious, can't belive I didn't think of it. a % in the preamble and post will net what I want without use of an M2 it seems. Also to note in the past I got hte "this code doesn't end wit ha % or m2" error message, and since I had learend M2 wasn't what I wanted I tried using a % and iirc it still failed and I never understood why. The docs claim you need a % at the begging and end, but I think the error message will say you are lacking a % at the end of your code even if you ONLY have a % at the end. Obviously "begggining" and "end" are non-trivial things for a PC to recognize, but clear to me. Eitherway I was never aware the %s had to wrap your code due to the vague error messages.
but all of that is from memory, I'll see if I can replicate it or if it was just my greeen showing.
On the topic at hand, does a % sign simply tell the interperter "this code is complete enough to execute" and send zero commands to the machine itself? Want to understand exactly what it does, can't find anything in the documents so far.