I tried your solution with the for loop:
when I tried the local integer mvx_index;
on line 1 and then the for stuff on the second line of the context it
complained that mvx_index did not exist.
so then I tried adding mvx_index to the job level in the edd.
as
job mvx_index integer 0 rw
then I tried this:
context: for mvx_index = 0; mvx_index < the number of
mvx_core_reasons; add 1 to mvx_index ;
condition:
substring (string) mx_core_reasons [mvx_index] from 1 to 1
== 'X'
but when I compile I get the following error:
any ideas?
Error:
Decision Table: Client_Setup_1
Filename: NY_EnrollmentRules.xls
Source: for mvx_index = 0; mvx_index < the number of
mvx_core_reasons; add 1 to mvx_index ;
Error: java.lang.Exception: Error found at Line:Char =0:12
java.lang.Exception: Can't recover from previous error(s)
Info: Old Postfix: None in XML
25 CONTEXT context
56 FOR for
124 RLONG mvx_index
Error:
Decision Table: Client_Setup_1
Filename: NY_EnrollmentRules.xls
Source: substring (string) mx_core_reasons [mvx_index] from 1
to 1 == 'X'
Error: java.lang.Exception: Error found at Line:Char =0:20
java.lang.Exception: Can't recover from previous error(s)
Info: Old Postfix: None in XML
27 CONDITION condition
138 SUBSTRING substring
83 LPAREN (
> > > - Show quoted text -- Hide quoted text -