Machsupport Forum
		Mach Discussion => General Mach Discussion => Topic started by: leversole on January 03, 2016, 11:13:29 AM
		
			
			- 
				Want to create a park button, and practice simple macros...have read the previous posts, can't get rid if the "null missing after newline"
 
 Here is what I want
 
 G0 Z1
 G0 Y12
 
 Have tried
 
 Code "G0 Z1"
 Code "G0 Y12"
 
 Code "G0 Z1
 G0 Y12"
 
 All with and without a final carriage return...
 
 Leslie
 
 
 
 
 
 
 
 
- 
				Code "G0 Z1"
 While IsMoving()
 Wend
 Code "G0 Y12"
 While IsMoving()
 Wend
- 
				You are single handedly my personal tutor!
 
 Thanks again!
 Leslie
- 
				Same error, but just before commiting hari-kari, I saw that the button function was set for G-Code...changed it to "Execute basic script" and all is well!
 
 Thanks again