Hello, I moved the procedure to a separate moduleand there was an error with the Close function. Self.Close also does not work.How can I solve this ?Code: Pascal [Select][+][-]procedure TSDLImageViewer.ProcessSDLEvents;begin while SDL_PollEvent(@SDLEvent) <> 0 dobegin case SDLEvent.type_ of SDL_DROPFILE: begin HandleDropEvent(SDLEvent.drop.file_); SDL_free(SDLEvent.drop.file_); end; SDL_QUITEV: begin Close; end; end; end;end; Code: Pascal [Select][+][-]core.pas(124,7) Error: Wrong number of parameters specified for call to "Close"file.inc(481,11) Error: Found declaration: Close(var File);text.inc(162,11) Error: Found declaration: Close(var Text);