I conditional jump relational operators (rel), I strings – Casio FX-9750GII User Manual

Page 229

Advertising
background image

8-18

Receive38k / Send38k

Function: Executes data send and receive at a data rate of 38 kbps.

Syntax: Send38k <expression>

<variable name>

Receive38k

<list name>

Description:

• The OpenComport38k command must be executed before this command is executed.

• The CloseComport38k command must be executed after this command is executed.

• If this command is executed when the communication cable is not connected, program

execution will continue without generating an error.

I Conditional Jump Relational Operators (REL)

=,

x, >, <, r, b

Function: These relational operators are used in combination with the conditional jump
command.

Syntax: <left side> <relational operator> <right side>

Parameters:

• left side/right side: variable (A to Z,

r

,

Q), numeric constant, variable expression (such as:

A

s 2)

• relational operator: =,

x, >, <, r, b

I Strings

A string is a series of characters enclosed in double quotes. In a program, strings are used
to specify display text. A string made up of numbers (like "123") or an expression (like "

x

–1")

cannot be processed as a calculation.

To display a string at a specific location on the screen, use the Locate command (page 8-17).

• To include double quotes (") or a backslash (\) in a string, put a backslash (\) in front of the

double quotes (") or backslash (\).

Example 1: To include Japan: “Tokyo” in a string

"Japan:\"Tokyo\""

Example 2: To include main\abc in a string

"main\\abc"

You can input a backslash from the menu that appears when you press

(CHAR)(SYBL)

in the PRGM mode, or from the String category of the catalog that appears when you press

• You can assign strings to string memory (Str 1 through Str 20). For details about strings, see

“String Memory” (page 2-7).

• You can use the “+” command (page 8-20) to connect strings inside of an argument.

• A function or command within a string function (Exp(, StrCmp(, etc.) is treated as a single

character. For example, the “sin” function is treated as a single character.

Advertising
This manual is related to the following products: