Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>hang the computer.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Hang the computer.
------------------------------------------------------------------------------

 Syntax

        GT_Hang([<lAllowCtrlAltDel>]) --> <ThisNeverReturns!>

 Arguments:

      <lAllowCtrlAltDel> is an optional logical value. If true (.T.)
      the user will be able to use Ctrl-Alt-Del to reset the machine,
      if false (.F.) the user will have to turn the machine off.
      The deafult value is .F.

 Returns:

      This function should never return!

 Description:

      Err.... I'm sure that one of you will find a use for this! <g>

 Examples:

      // Get the user to log into the system, if the login is invalid
      // hang the machine.

      if SysLogin()
         RunSystem()
      else
         GT_Hang()
      endif

 Source: HANG.C

 Author:  Dave Pearson

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson