anchor.diff:      Compiler.AllowNoEnd := True; //Scripts only use event handlers now, main section is unused
       Compiler.BooleanShortCircuit := True; //Like unchecking "Complete booolean evaluation" in Delphi compiler options
   
  -    Success := Compiler.Compile(fScriptCode); // Compile the Pascal script into bytecode
  +    compileSuccess := Compiler.Compile(fScriptCode); // Compile the Pascal script into bytecode
   
       for I := 0 to Compiler.MsgCount - 1 do
       begin
         Msg := Compiler.Msg[I];
   
         if Msg.ErrorType = 'Hint' then
  -      begin
  -        fValidationIssues.AddHint(Msg.Row, Msg.Col, Msg.Param, Msg.ShortMessageToString);
  -      end else if Msg.ErrorType = 'Warning' then
  +        fValidationIssues.AddHint(Msg.Row, Msg.Col, Msg.Param, Msg.ShortMessageToString)
  +      else if Msg.ErrorType = 'Warning' then
         begin
           fErrorHandler.AppendWarning(GetErrorMessage(Msg));
           fValidationIssues.AddWarning(Msg.Row, Msg.Col, Msg.Param, Msg.ShortMessageToString);
  
positive.code: var
    I: Integer;
    Compiler: TPSPascalCompiler;
    Msg: TPSPascalCompilerMessage;
    Success: Boolean;
  begin
    Compiler := TPSPascalCompiler.Create; // create an instance of the compiler
    try
  
negative.code:         AddError(Msg);
      end;
  
      if not compileSuccess then
        Exit;
  
      Compiler.GetOutput(fByteCode);            // Save the output of the compiler in the string Data.
  