Sharp OZ-707 Operation Manual - Page 94
specified
UPC - 074000012141
View all Sharp OZ-707 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 94 highlights
p LPRINT o FORMAT: 1 LPRINT {expreSSion} [ {expreSSion}] [,] . string , stnng 2 LPRINT {expreSSion} [. {expreSSion}] [;1 . string , string 3. LPRINT USING "format"; eXpreSSion} [{'} {expreSSion}] [{:}] { string ; stnng , 4. LPRINT Abbreviation: LP. See Also: PRINT, USING, OPEN, WIDTH PURPOSE: Outputs given data to the printer. REMARKS: When the serial 110 interface is opened with the OPEN command, the LPRINT command outputs the program to the serial 110 interface terminal. To return the printing command to the CE-50P Printer, execute the CLOSE command. When a comma (,) or semicolon (;) is placed at the end of the statement, the next LPRINT command in the program will print its data directly after the data printed by the first LPRINT. The CE-50P prints in the same format as the display specified with the PRINT command. If a numerical value fits on one line of the paper, it will be printed from the right margin. If it does not fit on on~ lin~, it will be printed from the left margin and continued on t~e follOWing. IIne(s). Character strings will be printed from the left margin and continued on the following line(s). For output to the serial 1/0 terminal, both numerical values and strings are printed from the left margin. 176 Format 2 prints out data in succession from the left margin. When a semicolon (;) is placed at the end of the statement, the next LPRINT command in the program will print its data in succession to the data printed by the first LPRINT. Format 3 prints out data in the exact format specified in the statement. Either a comma (,) or semicolon (;) may be used as a separator. For the format for USING, see the USING command. Format 4 prints only delimiter codes. If the preceding LPRINT statement is terminated with a semicolon (;) and unprinted data is left in the buffer, format 4 prints that data. MDF p o FORMAT: 1. MDF (expression) 2. MDF (expression, threshold number) Abbreviation: MD. See Also: USING PURPOSE: Rounds up the value of an expression. REMARKS: The MDF function rounds the value of an expression to the number of decimal places specified by the USING command. MDF is effective only when the number of decimal places is specified for a value by the USING command. Format 1 uses the standard default threshold number of 4. This means that if the first digit of the truncated part is more than 4, one is carried to the non-truncated part. This threshold number can be specified using format 2. 177