Hi All,

I am a little confused about what controls the scope of an IF statement. I
thought that the curly brackets { and } controlled the scope but there are
no curly brackets following the IF in some Axapta code. For example: What
is the scope of the first IF in the code below taken from the fetch in
SalesInvoiceUS? It appears that only element.execute(1) is controlled by
the first IF.
         }

            if (custInvoiceJour.SumMarkup)  // print freight/misc charges
                element.execute(1);

              element.printBackorders();

            taxSpecPrintLevel = CustFormletterParameters::Find
().TaxSpecPrintLevel;

            if (taxSpecPrintLevel != TaxSpecPrintLevel::None)
            {

Thanks,

Bob



Bob Brinker
Oakdene Group, Inc.
2625 Butterfield Rd. (Suite 212E)
Oak Brook, IL 60523-1261
(630)368-1046 x/230
(630)368-1050 (Fax)
[EMAIL PROTECTED]





Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to