ebook img

Casio PB 100 Command List PDF

2021·1.4 MB·
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Casio PB 100 Command List

PB-100 Command List * Elements can be used repeatedly { } Select one of the elements [ ] Elements can be omitted Commands INPUT Function: Inputs data from the keyboard to a variable. Format: INPUT [“message statement”,] variable name * Examples: INPUT A INPUT “LOCATION”,C$,”NAME”,D$ PRINT Function: Displays an output element. Format: PRINT output element[{, or ;}] * Examples: PRINT “CASIO” PRINT A, B, C GOTO Function: Branches to a specified location. Formats: GOTO line number GOTO #program area number Examples: GOTO 210 GOTO #4 IF-THEN Function: When a branching condition is true the statements after THEN are executed. Formats: IF branching condition THEN statement IF branching condition THEN branching location Examples: IF K$=”4" THEN N=N+1 IF A>B THEN 10 IF C=4 THEN #3 FOR-TO-STEP-NEXT Function: Executes instructions between the FOR and NEXT commands a number of times specified by the control variable. Format: FOR variable name = numerical expression TO numerical expression [STEP numerical expression] NEXT variable name Example: FOR X = 0 TO 10 STEP 2 NEXT X GOSUB Function: Branches to a specified subroutine. Formats: GOSUB line number GOSUB #3 Examples: GOSUB 200 GOSUB #3 RETURN Function: Returns to the main program from a subroutine. Format: RETURN Example: RETURN STOP Function: Temporarily stops program execution. Restarts by the ‘EXE’ key. Format: STOP Example: STOP END Function: Terminates program execution. Format: END Example: END RUN Function: Executes a program. Format: RUN [line number] Examples: RUN RUN 1000 LIST Function: Lists the specified program. Formats: LIST A LIST [line number] Examples: LIST A LIST 100 MODE Function: Sets the state of the computer. Formats: MODE 4 (degrees) MODE 5 (radians) MODE 6 (grades) MODE 7 (PRT) MODE 8 (release PRT) Example: MODE 4 SET Function: Specifies the output format for numerical data. Format: SET {Fn or En or N} Example: SET F4: PRINT X VAC Function: Clears the data in all variables. Format: VAC Example: VAC CLEAR Function: Erase a program. Format: CLEAR [A] Examples: CLEAR CLEAR A (erases all programs) DEFM Function: Expands the number of variables. Format: DEFM size Example: DEFM 10 SAVE Function: Stores a program on cassette. Format: SAVE [A] [“filename”] Examples: SAVE “BUDGET” SAVE A LOAD Function: Loads a program from cassette. Format: LOAD [A] [“filename”] Examples: LOAD “BUDGET” LOAD A PUT Function: Stores variable data on cassette. Format: PUT [“filename”] variable1[, variable2] * Example: PUT “SALES” A, B GET Function: Reads variable data from cassette. Format: GET [“filename”] variable1[, variable2] * Example: GET “A,B VER Function: Verifies the program stored on cassette. Format: VER [“filename”] Examples: VER VER “BUDGET” Character Functions KEY Function: Enters one character from the keyboard. Format: KEY Example: A$=KEY CSR Function: Displays an output element from a specified position. Format: CSR numerical expression Example: PRINT CSRA;”G”;CSR9;”H” LEN Function: Provides the length of a character string. Format: LEN (character string) Example: X=LEN(B$) MID Function: Provides a portion of the special $ character variable. Format: MID(position[, number of characters]) Examples: A$ = MID(2, 3) PRINT MID(X,Y) VAL Function: Converts a character string into the corresponding numerical value. Format: VAL (character string) Example: X=VAL(“123") Numerical Functions SIN Function: Trigonometric sine function (sin X) Format: SIN (numerical expression) Example: SIN (A/B) COS Function: Trigonometric cosine function (cos X) Format: COS (numerical expression) Example: COS (A*10) TAN Function: Trigonometric tangent function (tan X) Format: TAN (numerical expression) Example: TAN (PI/6) ASN Function: Inverse trigonometric sine function (arcsin or sin-1) Format: ASN (numerical expression) Example: ASN (X*X) ACS Function: Inverse trigonometric cosine function (arccos or cos-1) Format: ACS (numerical expression) Example: ACS (A+12) ATN Function: Inverse trigonometric tangent function (arctan or tan-1) Format: ATN (numerical expression) Example: ATN (A/100) LOG Function: Common logarithmic function Format: LOG (numerical expression) Example: LOG (2.71828) LN Function: Natural logarithmic function Format: LN (numerical expression) Example: LN (1.6754)

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.