Order Delete function - help. - page 2

this only applies till the next semicolon

if (Pendingorder==0)