dc2000 Posted August 28, 2007 Report Share Posted August 28, 2007 This is want my macro to do c1 = 1 REPEAT 50 times texttype dc & c1 variable c1 = c1 + 1 END REPEAT so this is what it will do: dc1 dc2 dc3 dc4 dc5 dc6 dc7 dc8 dc9 dc10 ... .. ... dc50 i hope u understand what i am saying... Quote Link to comment Share on other sites More sharing options...
blopib Posted August 28, 2007 Report Share Posted August 28, 2007 Hi This would help, i just haven't figured out how to insert Macro explorer/Macro script code into the post, could someone please explain? Anyway just take the code below and insert into Direct editor/Macro Text and it would work. <IVAR2:01:01:1><REP3:01:000001:000001:00050:0:01:><TVAR2:01:01:dc><TVAR2:02:01:%T1%%N1%><REM2:Text Box Display is only to show the result in T2 for example: dc1><TBOX4:T:1:CenterCenter000278000200:000:Show the value of %T2%%T2%><NMVAR:08:01:0:0000001:0:0000000><ENDREP> Quote Link to comment Share on other sites More sharing options...
cyberchief Posted August 28, 2007 Report Share Posted August 28, 2007 blopib, To copy the command text... select all the code you want to copy, right click and select "Copy Command Text". This will take out the coding for you. Here you go.. Variable Set Integer %N1% to 1 Repeat Start (Repeat 50 times) Variable Set String %T1% "dc" Variable Set String %T2% "%T1%%N1%" // Text Box Display is only to show the result in T2 for example: dc1 Text Box Display: Show the value of %T2% Variable Modify Integer: Inc (%N1%) Repeat End Quote Link to comment Share on other sites More sharing options...
blopib Posted August 30, 2007 Report Share Posted August 30, 2007 Ahhh, thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.