Function pause

Pauses and prompts the user to press Enter (or "Return" on OSX).

void pause (
  string prompt = "Press Enter to continue..."
);

This is similar to the Windows command line's PAUSE command.

pause();
pause("Thanks. Please press Enter again...");