Michael,
First of all make sure that the element names do exist.
I think your macro fails when you use the string template function,
STRTMP(), within a snap function, CEX(), CEY(), etc...
// Concatenate the string and assign it to a string variable first.
STRING:#ElName
#ElName=STRTMP("E%Next")
// Then use the string variable in the snap functions.
SPLIT[EL="SEQEL()", XS=CEX(#ElName), YS=CEY(#ElName),
LC=0, GW=0.0, LN=.5, DS=.05, FR=1]
=============================================
Fred Lauzus, CAM Programming Coordinator
High Steel Structures, Incorporated
mailto:[EMAIL PROTECTED] http://www.highsteel.com
=============================================
-----Original Message-----
From: Michael Senack [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 02, 2001 10:41 AM
To: '[EMAIL PROTECTED]'
Subject: [mfg-smartcam] Mcl help
I'm trying to use named elements ( E1,E3,E5 etc ) in a While/Endw loop.
This is the split command inside the loop that I recorded...
SPLIT[EL="SEQEL()", XS=CEX(E2), YS=CEY(E2), LC=0, GW=0.0, LN=.5, DS=.05,
FR=1]
and what I'm trying to do is take the E and concatinate (haven't got a clue
how to spell that word)
to the INTEGER:#Next which is 1,3,5,7 etc like so...
SPLIT[EL="SEQEL()", XS=CEX(STRTMP("E%Next")), YS=CEY(STRTMP("E%Next")),
LC=0, GW=0.0, LN=.5, DS=.05, FR=1]
but all I get is error 2753: unknown identifier in expression
Why?
Regards,
Michael Senack, CNC Programmer
Blount Canada Ltd
505 Edinburgh Road North
Guelph Ontario
N1H 6L4
519 822 6870 X354
FAX 519 822 1450
http://www.blount.com/
======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================
======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================