STWA3-Subprogram calls itself unconditionally

Top  Previous  Next

 

Subprogram calls itself unconditionally (STWA3)

 

This sections lists subprograms that call themselves unconditionally. This will lead to infinite recursion and stack failure at runtime if the subprogram is called:

 

Consider this example:

 

clip0063

 

 

See also:

 

Alerts