Sharp OZ-707 Operation Manual - Page 66
Abbreviation
UPC - 074000012141
View all Sharp OZ-707 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 66 highlights
• The DEFSNG statement is executed. • The power is turned off. • The RUN or NEW command is executed. • A program is loaded (except by the CHAIN command). When using the DIM statement to establish the number of elements allowed in a numeric array, the DEFDBl statement must be used first if those elements are to be treated as double-precision variables: DEFDBl A DIM A(3,2) In the example below, the elements will be treated as single-precision variables: DIM A(3,2) DEFDBl A DEFSNG p o FORMAT: 1. DEFSNG character range 2. DEFSNG Abbreviation: DEFS. See Also: DEFDBl PURPOSE: Defines variable(s) with single-character names as having single precision accuracy or cancels double-precision mode specified by DEFDBL. REMARKS: In format 1, the variables in the "character range" are designated as single-precision. "Character range" can be specified as follows : • OEFSNG C-F where variables C, 0, E and F are designated as single-precision, or • OEFSNG E,F,Z,H-.J where variables E, F, Z, H, I and J are designated as single-precision. Variable names followed by double-precision type declaration characters (#) are given type priority over variable names declared by the DEFSNG statement. For example, variables E and F in the statement DEFSNG E,F will be treated as single-precision variables, but variables E# and F# as double-precision variables. Variables not declared as double- or single-precision are treated as single-precision variables. In format 2, all subsequent calculations are carried out with single precision. The DBl mark on the screen is canceled in this mode. 120 121