PDA

View Full Version : Macro Parameters


glavian
04-24-2007, 03:46 PM
Hi,
I have a macro defined that takes 2 parameters.

SEND_MAIL(TO, SUBJECT)

I need to comma seperate names for the TO parameter of the macro. For Example I need TO = myemail@mailserver.net,email2@mailserver.net. Currently the second thing will always be my Subject Parameter. Is there a way I can force it to recognize both emails as my TO parameter.

Thanks,
Keith

kinook
04-24-2007, 04:34 PM
No (parameterized macros are a relic of very old versions of Visual Build and we don't recommended using them). In VBP v6, there are usually other better ways to this sort of thing (subroutines, script code, script expressions, Send Mail action, multiple macros, etc.).