TI-BASIC:Isclockon

From Learn @ Cemetech
Revision as of 18:15, 24 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

ISCLOCKON.GIF

Command Summary

Returns whether the clock on the TI-84+/SE is on or off.

Command Syntax

isClockOn

Menu Location

This command can only be found in the catalog. Press:

  1. 2nd CATALOG to enter the command catalog
  2. i to skip to commands starting with I
  3. Scroll down to isClockOn and select it

Calculator Compatibility

TI-84+/SE

Token Size

2 bytes

The isClockOn command returns whether the clock on the TI-84+/SE calculators is on or off. Based on Boolean logic, it will return 1 if it is on and 0 if it is not. You can store it to a Variable for later use, or use it in Conditionals and Loops as part of the condition. For example, here is how you would check to see if the clock is on:

:If isClockOn
:Then
  (code if clock is on)
:Else
  (code if clock is off)
:End

Related Commands