You are trying to do a numeric function with a variable that you previously have declares as a string. Delete the line "STRING:#HOLENUM". You may need to clear the variables if #HOLENUM has already been defined as a string. ============================================= Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://www.highsteel.com <http://www.highsteel.com/> =============================================
-----Original Message----- From: Bill Payter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 5:06 AM To: SmartCAM Users Subject: [mfg-smartcam] Another macro question Hello macro experts! Something is obviously wrong with the following, please point me in the right direction. For clarity I have omitted a lot of the macro that is not relevant. STRING:#HOLENUM #HOLENUM=1 PAUSE[TX=STRTMP("This hole is number %#HOLENUM."), SR=4, SC=20, PT=1] #HOLENUM=#HOLENUM+1 PAUSE[TX=STRTMP("This hole is number %#HOLENUM."), SR=4, SC=20, PT=1] Thanks in advance, Bill in the UK. ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
