Remote-processing CAMBASIC Manual de usuario Pagina 129

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 208
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 128
Commands - 96
PRINT
Statement
PR [#n,] [expression] [; or , ] [expression]..
PRINT [#n,] [expression] [; or , ] [expression]..
PURPOSE: To output data through the specified serial or display port.
REMARK S: If all of the expressions are omitted, a carriage retur n is perfor med. If the list of expr essions is
included, the values of the expressions are displayed on the screen. The expressions in the list may
be numeric and/or string expressions. String constants must be enclose d in quotation marks.
The position of each printed item is determined by the punctuation used to separate the items in the
list. In the list of expressions, a comma causes a tab to the next print zone (print zones are 14
characters wide). A semicolon does not place any spaces between the printed items. If the list of
expressions terminates without a semicolon or a comma, a carriage return is printed at the end of the
line.
Printed numbers are always followed by a space. Positive numbers are preceded by a space.
Negative numbers are preceded by a minus sign.
n = valid port number. Port numbers are 1 and 2 for serial; 9 for VF display; 10 for LC D display.
LCD and VF displays must be configured using the CONFIG DISPLAY comm and before use.
RPC-2350 NOTE: The CAM BASIC statement BIT 128,4, 0 may need to be executed before you
will receive any characters. This command enables the CTS line.
RELATED: PRINT$, PRINT USING, TAB, CH R$
EXAMPLE: In the example below, the semicolons in the PRINT statement cause each value to be printed in the
same line.
10 X=5
20 PRINT X + 5; X – 5; X * (–5)
RUN
10 0 –25
The follow ing is an exam ple of string c oncatenation. The output is through the C OM 2 serial por t.
30 A$ = "Hi"
40 B$ = " there"
50 PRINT #2,A$+B$
RUN
Hi there
Vista de pagina 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 207 208

Comentarios a estos manuales

Sin comentarios

Mts manuals

The list of Mts product deivces contains 538 user manuals and guides for 496 models in 3 type of devices

Hardware
Models Document Type
Пневматический захват тискового типа 1 кН User Manual   Инструкция по эксплуатации MTS Пневматический захват тискового типа 1 кН, 2 pages
Ручной винтовой захват 5 кН User Manual   Инструкция по эксплуатации MTS Ручной винтовой захват 5 кН, 2 pages
Ручной захват ножничного типа 2 кН User Manual   Инструкция по эксплуатации MTS Ручной захват ножничного типа 2 кН, 2 pages
Ручной захват ножничного типа 5 кН User Manual   Инструкция по эксплуатации MTS Ручной захват ножничного типа 5 кН, 2 pages
Ручной захват тискового типа 5 кН User Manual   Инструкция по эксплуатации MTS Ручной захват тискового типа 5 кН, 2 pages
Software
Models Document Type
Series 793 Utility Software User Manual   MTS Series 793 Utility Software User Manual, 124 pages
Echo Software User Manual   MTS Echo Software User Manual, 42 pages
Series 793 Application User Manual   MTS Series 793 Application User Manual, 576 pages
Landmark System User Manual   MTS Landmark System User Manual, 126 pages
Landmark TWX User Manual   MTS Landmark TWX User Manual, 162 pages