func_system_waitsystem.rst 702 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. .. _func_system_waitsystem:
  2. ==========
  3. WaitSystem
  4. ==========
  5. WaitSystem -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. WaitSystem()
  10. Wait for operating system
  11. #WaitSystem returns control back to the operating system, waiting until
  12. an event such as a keystroke or gadget action occurs.
  13. Note that #WaitSystem may wait indefinitely if there is no possibility
  14. of any events occuring, so use with caution.
  15. If #WaitSystem encounters a key, mouse or app suspend/resume/terminate
  16. event, an equivalent #TEvent object will be generated which may be intercepted using
  17. the #EmitEventHook hook.
  18. Parameters
  19. ==========
  20. Return Values
  21. =============
  22. Nothing.
  23. Examples
  24. ========
  25. See Also
  26. ========