Auto Power Feature

Basic supports several powerful functions associated with the POWER key. Basic programs can control precisely what occurs on switch on, or even not allow HUNTER to be turned off. The following commands and statements are available:

Default Conditions

The power key behaves as normal - at any stage it can be used to turn HUNTER on or off. The current execution position is lost on turning the power off, and turning it back on returns to the File Manager. However the current Basic program and variables are retained.

POWER CONT

  1. The power key is disabled.

  2. The automatic timeout power down (if no key is pressed within a set period of time) is disabled.

POWER n

  1. This command overrides a previous POWER OFF.

  2. n refers to the automatic power down timeout: 1. n must be in the range 10-255 or 0 1. n=0 is no automatic timeout 1. n is in multiples of 5 seconds

POWER OFF

  1. Turns the power off.

  2. When power is turned on, Basic program execution starts at the beginning.

POWER OFF RESUME

As POWER OFF, but turning HUNTER on continues execution where it left off.

ON POWER GOTO

When the power button is hit (during program execution) program execution goes to the specified line number.

ON POWER RESUME

  1. Powering down proceeds as normal.

  2. Powering up begins program execution where it left off.

Timeouts

HUNTER has an automatic timeout (see Auto Timeout). This can be modified using POWER n. If HUNTER has been switched off, the power down timeout is set back to the default of 5 minutes unless CONT or POWER OFF, RESUME has been used.