Q. Will Return statement after *inlr = *on get executed? *inlr=*on; return;

A. Yes, after LR is on, program will still continue processing additional commands. When we use SETON LR before Return then the program will release all the used resources (like open files, variables, any API used, etc) and then return statement will be executed which will send the control back to the called program.