Technical support and scripting issues
Moderators: JRL, Dorian (MJT support)
-
snapper1969
- Pro Scripter
- Posts: 50
- Joined: Fri Mar 23, 2007 10:14 am
Post
by snapper1969 » Sat Apr 12, 2008 10:20 am
I have the following line of code:
if OutPutFileName=May 2008 Proglog.xls then
let>r=10
Would it be possible to have a statement that has 12 options for R depending on the filename?.
Thx,
John
-
Me_again
- Automation Wizard
- Posts: 1101
- Joined: Fri Jan 07, 2005 5:55 pm
- Location: Somewhere else on the planet
Post
by Me_again » Sat Apr 12, 2008 4:08 pm
In macroscheduler you just have to do it line by line:
if>OutPutFileName=May 2008 Proglog.xls
let>r=10
endif
if>OutPutFileName=June 2008 Proglog.xls
let>r=11
endif
if>OutPutFileName=July 2008 Proglog.xls
let>r=12
endif
etc.