Download Print this page

Casio fx-CG50 User Manual page 577

Hide thumbs Also See for fx-CG50:

Advertisement

If the SHELL is restarted by running a py script from the file list screen or script editor screen,
the SHELL will be initialized before the py script is run. Because of this, the SHELL screen
will appear as shown in the screen shot below.
5. Using Draw Functions (casioplot Module)
The casioplot module is a CASIO-original module that includes draw functions for drawing
pixels and character strings in the Python mode.
However, to use the draw functions in the casioplot module you have to first import (
the casioplot module. For details about the import procedure, see "Using Modules (
(page 17-12).
The casioplot category of the Catalog Function (page 17-9) comes in handy when inputting
the draw functions in the casioplot module. Input of commands that import the casioplot
module is also simple.
For details about the format and other information for each draw function, see "Draw
Function Details" below.
k
Draw Function Details
This section provides a description, information about py script syntax and arguments, simple
examples, and supplementary information about draw functions.
u
Draw Function List
Arguments enclosed in square brackets ([ ]) in a function syntax can be omitted. Omission of
other arguments is not allowed.
All function examples are executed from the SHELL screen.
show_screen()
Description: Displays the drawing screen.
Syntax:
show_screen()
(No argument)
½
½
"
SHELL Initialized
" message
py script execution command
py script execution result
Prompt line
17-18
import
)
import
)"

Advertisement

loading

This manual is also suitable for:

Fx-cg50 auFx-cg20Fx-cg20 auFx-cg10