ALTER { Procedure-Name-1 TO [ PROCEED TO ] Procedure-Name-2 } ... |
main. perform tax-main thru tax-exit display message ws-tax goback. tax-main. if tax-type = "complex" alter go-to-compute-tax to proceed to compute-complex-tax end-if. go-to-compute-tax. go to compute-simple-tax. compute-complex-tax. compute ws-tax = ws-amount * ws-base-percent * ws-tax-rate go to tax-exit. compute-simple-tax. compute ws-tax = ws-amount * ws-tax-rate. tax-exit. exit. |