blackknightio.pas - Added debug function to alter the input variable