Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 02:14:43 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  tool change macro syntax error need some help
Pages: 1   Go Down
Print
Author Topic: tool change macro syntax error need some help  (Read 978 times)
0 Members and 2 Guests are viewing this topic.
woffler
Active Member

Offline Offline

Posts: 119



View Profile
« on: October 04, 2008, 02:43:47 PM »

tool=get Selected tool ()'load the tool numberSet Currrent tool() 'Set the current toolcode "G43h" & Tool "Set the height" Complete=Question("change to tool number" & tool )

this is what it is i get an error in the get line Huh
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #1 on: October 04, 2008, 04:14:54 PM »

because there is NO get Selected Tool, it is all crammed together like below:

OldTool = GetCurrentTool()                         
NewTool = GetSelectedTool()                      

scott
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
woffler
Active Member

Offline Offline

Posts: 119



View Profile
« Reply #2 on: October 04, 2008, 04:39:55 PM »

thanks ill give it a go
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!