我遇到了过程调用的问题..例如
MAIN_PROCEDURE_starts
LOOP
FOR records_present in Table_test
Begin
Call_procedure1
End
Begin
Call_procedure2
End
Begin
Call_procedure3 --this procedure gives an output value
End
Begin
Call_procedure4 --this procedure takes input from output of procedure 3
End
Begin
Call_procedure5
End
End loop
End
在这里,我面临以下问题:
- 如果过程的输出为空,则过程 4 无法执行,因此其他过程,即 5 不工作。
- 它不是在循环中迭代。如果任何程序失败,它就会退出循环并且主程序结束。