W

wait_key()

 

Module: ti_system

Syntax: wait_key()

Description: Returns a combined keycode representing the key pressed, merged with y and/or ƒ. The method waits for a key to be pressed before returning to the program.

Example:

See: [Fns…]>Modul: time and ti_system modules.

See: Keypad mapping for wait_key()

y N

 

while condition:

 

Keyword

Syntax: while condition:

Description: Executes the statements in the following code block until "condition" evaluates to False.

Example:

>>> x=5

>>> while x<8:

…       x=x+1

…       print(x)

6

7

8

[Fns…] Ctl
8:while condition:

 

y N

 

 

window(xmin,xmax,ymin,ymax)

 

Module: ti_plotlib

Syntax: plt.window(xmin,xmax,ymin,ymax)

Description: Defines the plotting window by mapping the the specified horizontal interval (xmin, xmax) and vertical interval (ymin, ymax) to the allotted plotting area (pixels).

This method must be executed before any other ti_plotlib module commands are executed.

The ti_plotlib Properties vars, xmin, xmax, ymin, ymax will be updated to the argument values. The default values are (-10, 10, -6.56, 6.56).

Example:

See sample program: GRAPH.

y N

[Fns...]>Modul or »
5:ti_plotlib...> Setup
4:window()


import commands can be found in y N or in the
ti_plotlib Setup menu.

 

with

 

Keyword

Description: See Python documentation for more details.

yN