Table of Content
HAL Forum
procedure QuitApplication (
integer ExitCode,boolean Mode)
Description:
Either restarts or exits HansaWorld.
Parameters:
ExitCode Reserved. Should be 0.
Mode Determines if the program is either shut down or restarted. FALSE: quit / TRUE: restart.
global
procedure ServerShutDownFn() begin
  LogText(0,"Server shut down by user");
  QuitApplication(0,false);
  return;
end;
Related topics:
««