Rockwell-automation 2708-NBD VBASIC Language Development Kit Manual de usuario Pagina 46

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 84
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 45
Chapter 5
A-B VBASIC Application Library
59
Status Display
The application status display (one of the special status displays described in
the Attended Workstation Users Manual) is not accessible through any
subroutines in ENV, and is not emulated in ENVPC. Use a section of code
which is conditional on the value of PcMode to set the status display.
Printing Reports and Forms
Since PRINT # USING.. is not supported, we recommend that you format
reports by first printing the report to a scratch file, then copying the file to
the device. Example:
listfile$ = SCRATCH
OPEN listfile$ FOR OUTPUT AS #1
PRINT #1, USING . . . . . . .
. . .
build your report, form, or complex response here
. . .
PRINT #1, USING . . . . . . .
CLOSE #1
OPEN listfile$ FOR INPUT AS #1
DO WHILE NOT EOF(1)
LINE INPUT #1, s$
SendQue s$ This could be SendQue, Send, or SendCom
LOOP
CLOSE #1
KILL listfile$
Using the ENVPC Simulator
(contd)
Vista de pagina 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 83 84

Comentarios a estos manuales

Sin comentarios