Remote-processing CAMBASIC User Manual Page 132

  • Download
  • Add to my manuals
  • Print
  • Page
    / 208
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 131
Commands - 99
Leading zeros to the left of the first digit to the left of the decimal point are suppressed.
A=25.5555
PRINT #10,USING "##.##";A;
25.56
Note that true rounding to the second decimal place took place. Output is to the LCD character or
graphics display as defined in CONFIG DISPLAY.
PRINT #2,USING "###.####";TICK(0);
23.7850
Prints to COM2 port current tick time.
ERROR: < Illegal argument> if the field specifier, “#”, is longer than 8 characters
< Data out of range> if n is not a legal serial port number
NOTE: Illegal combinations of field declaration characters may cause erratic printing.
Page view 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 207 208

Comments to this Manuals

No comments