When using chain of command (code extension of a class / table or form) you need to use the next keyword to execute the original code before or after your code.
public void init()
{
// your logic before
next init();
// your logic after
}
If statements around a next keyword are not allowed.
public void init()
{
if (true) // this is not allowed!
{
next init();
}
}